feat : no call to llm on goodbye, prompt adjustement for file agent

This commit is contained in:
martin legrand 2025-04-01 19:00:39 +02:00
parent 56b5db7df3
commit 3acbae5ea0
3 changed files with 3 additions and 1 deletions

View File

@ -42,6 +42,7 @@ rules:
- Use file finder to find the path of the file.
- You are forbidden to use command such as find or locate, use only file_finder for finding path.
- Do not ever use editor such as vim or nano.
- Make sure to always cd your work folder before executing commands, like cd <work dir> && <your command>
Example Interaction
User: "I need to find the file config.txt and read its contents."

View File

@ -51,6 +51,7 @@ rules:
- Do not ever use placeholder path like /path/to/file.c, find the path first.
- Use file finder to find the path of the file.
- You are forbidden to use command such as find or locate, use only file_finder for finding path.
- Make sure to always cd your work folder before executing commands, like cd <work dir> && <your command>
- Do not ever use editor such as vim or nano.
Example Interaction

View File

@ -101,7 +101,7 @@ class Interaction:
query = self.read_stdin()
if query is None:
self.is_active = False
self.last_query = "Goodbye (exit requested by user, dont think, make answer very short)"
self.last_query = None
return None
self.last_query = query
return query