mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-06 11:05:26 +00:00
feat : no call to llm on goodbye, prompt adjustement for file agent
This commit is contained in:
parent
56b5db7df3
commit
3acbae5ea0
@ -42,6 +42,7 @@ rules:
|
|||||||
- Use file finder to find the path of the file.
|
- 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.
|
- 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.
|
- 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
|
Example Interaction
|
||||||
User: "I need to find the file config.txt and read its contents."
|
User: "I need to find the file config.txt and read its contents."
|
||||||
|
@ -51,6 +51,7 @@ rules:
|
|||||||
- Do not ever use placeholder path like /path/to/file.c, find the path first.
|
- 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.
|
- 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.
|
- 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.
|
- Do not ever use editor such as vim or nano.
|
||||||
|
|
||||||
Example Interaction
|
Example Interaction
|
||||||
|
@ -101,7 +101,7 @@ class Interaction:
|
|||||||
query = self.read_stdin()
|
query = self.read_stdin()
|
||||||
if query is None:
|
if query is None:
|
||||||
self.is_active = False
|
self.is_active = False
|
||||||
self.last_query = "Goodbye (exit requested by user, dont think, make answer very short)"
|
self.last_query = None
|
||||||
return None
|
return None
|
||||||
self.last_query = query
|
self.last_query = query
|
||||||
return query
|
return query
|
||||||
|
Loading…
x
Reference in New Issue
Block a user