Skip to content

Commit

Permalink
Adjusted prompt when mode is modify
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed Nov 7, 2024
1 parent 7390e8b commit ca2f929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agency_swarm/agents/Devid/tools/FileWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def run(self):
if self.mode == "write":
message = f"Please write {filename} file that meets the following requirements: '{self.requirements}'.\n"
else:
message = f"Please rewrite the {filename} file according to the following requirements: '{self.requirements}'.\n"
message = f"Please rewrite the {filename} file according to the following requirements: '{self.requirements}'.\n Only output the file content, without any other text."

if file_dependencies:
message += f"\nHere are the dependencies from other project files: {file_dependencies}."
Expand Down

0 comments on commit ca2f929

Please sign in to comment.