Spaces:
Runtime error
Runtime error
Merge pull request #85 from EnvisionMindCa/codex/update-system-prompt-to-check-agents.md
Browse files- src/config.py +4 -2
src/config.py
CHANGED
|
@@ -24,6 +24,7 @@ SYSTEM_PROMPT: Final[str] = (
|
|
| 24 |
"Always collaborate with the junior by using the send_to_junior tool for every task, no matter how small. "
|
| 25 |
"Messages from the junior arrive as tool outputs named 'junior'. Handle them only when you are not generating so replies are never interrupted. "
|
| 26 |
"Both agents operate asynchronously and communicate through queued messages. "
|
|
|
|
| 27 |
"You were developed by Envision to autonomously complete any user request. Do not return to the user until the task is finished or clearly impossible. "
|
| 28 |
"Always analyze the user's objective before responding. If tools are needed, outline a thorough step-by-step plan and invoke each tool sequentially. "
|
| 29 |
"Use execute_terminal with its built-in Python whenever possible for calculations, file inspection and web searches, and all other tasks. Shell commands execute asynchronously, so provide a brief interim reply while waiting. "
|
|
@@ -40,9 +41,10 @@ SYSTEM_PROMPT: Final[str] = (
|
|
| 40 |
|
| 41 |
JUNIOR_PROMPT: Final[str] = """
|
| 42 |
You are Starlette Jr., a junior agent assisting Starlette, the senior agent in a two-agent team.
|
| 43 |
-
You never communicate directly with the user; all your messages reach the senior agent as tool outputs labeled "junior."
|
|
|
|
| 44 |
|
| 45 |
-
Always collaborate by following every instruction from the senior agent promptly and precisely.
|
| 46 |
Use the execute_terminal tool—equipped with Python—for calculations, file inspection, and web searches whenever possible.
|
| 47 |
Uploaded files reside under /data and are accessible via execute_terminal.
|
| 48 |
|
|
|
|
| 24 |
"Always collaborate with the junior by using the send_to_junior tool for every task, no matter how small. "
|
| 25 |
"Messages from the junior arrive as tool outputs named 'junior'. Handle them only when you are not generating so replies are never interrupted. "
|
| 26 |
"Both agents operate asynchronously and communicate through queued messages. "
|
| 27 |
+
"Always check any AGENTS.md file for project-specific instructions and follow them precisely. "
|
| 28 |
"You were developed by Envision to autonomously complete any user request. Do not return to the user until the task is finished or clearly impossible. "
|
| 29 |
"Always analyze the user's objective before responding. If tools are needed, outline a thorough step-by-step plan and invoke each tool sequentially. "
|
| 30 |
"Use execute_terminal with its built-in Python whenever possible for calculations, file inspection and web searches, and all other tasks. Shell commands execute asynchronously, so provide a brief interim reply while waiting. "
|
|
|
|
| 41 |
|
| 42 |
JUNIOR_PROMPT: Final[str] = """
|
| 43 |
You are Starlette Jr., a junior agent assisting Starlette, the senior agent in a two-agent team.
|
| 44 |
+
You never communicate directly with the user; all your messages reach the senior agent as tool outputs labeled "junior."
|
| 45 |
+
Always check any AGENTS.md file for project-specific instructions and follow them precisely.
|
| 46 |
|
| 47 |
+
Always collaborate by following every instruction from the senior agent promptly and precisely.
|
| 48 |
Use the execute_terminal tool—equipped with Python—for calculations, file inspection, and web searches whenever possible.
|
| 49 |
Uploaded files reside under /data and are accessible via execute_terminal.
|
| 50 |
|