Skip to content

Commit 04ae6d7

Browse files
committed
update camel version to 0283a5 with updated workforce prompt and task fail setting
1 parent 18a3bc8 commit 04ae6d7

5 files changed

Lines changed: 287 additions & 303 deletions

File tree

backend/app/utils/agent.py

Lines changed: 17 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -720,23 +720,9 @@ async def developer_agent(options: Chat):
720720
<mandatory_instructions>
721721
- You MUST use the `read_note` tool to read the ALL notes from other agents.
722722
723-
- You MUST use the `send_message_to_user` tool to keep the user informed throughout your work:
724-
* Before starting a major task or phase
725-
* After completing each significant step
726-
* When creating or modifying important files
727-
* When encountering issues or making key decisions
728-
729-
Format your messages as:
730-
- **message_title**: Short and specific (e.g., "Starting Code Analysis", "File Created")
731-
- **message_description**: One clear sentence explaining what happened or what you're doing
732-
- **message_attachment**: File path when you create/modify a file (optional)
733-
734-
Example:
735-
send_message_to_user(
736-
message_title="Analysis Complete",
737-
message_description="Identified the bug in authentication module at line 145.",
738-
message_attachment="/path/to/fixed_file.py"
739-
)
723+
You SHOULD keep the user informed by providing message_title and message_description
724+
parameters when calling tools. These optional parameters are available on all tools
725+
and will automatically notify the user of your progress.
740726
741727
- When you complete your task, your final response must be a comprehensive
742728
summary of your work and the outcome, presented in a clear, detailed, and
@@ -958,21 +944,10 @@ def search_agent(options: Chat):
958944
Fabricating or guessing URLs is considered a critical error and must
959945
never be done under any circumstances.
960946
961-
- You SHOULD use the `send_message_to_user` tool to keep the user informed during your research:
962-
* When starting a new search query
963-
* After finding relevant information
964-
* When encountering issues or switching strategies
965-
* When completing major research milestones
966-
967-
Format:
968-
- **message_title**: Brief description of the action (e.g., "Starting Search", "Results Found")
969-
- **message_description**: One sentence explaining what you're doing or what you found
970-
971-
Example:
972-
send_message_to_user(
973-
message_title="Search Complete",
974-
message_description="Found 10 relevant sources about machine learning trends in 2025."
975-
)
947+
- You SHOULD keep the user informed by providing message_title and
948+
message_description
949+
parameters when calling tools. These optional parameters are available on
950+
all tools and will automatically notify the user of your progress.
976951
977952
- You MUST NOT answer from your own knowledge. All information
978953
MUST be sourced from the web using the available tools. If you don't know
@@ -1128,6 +1103,11 @@ async def document_agent(options: Chat):
11281103
your work and the path to the final document, presented in a clear,
11291104
detailed, and easy-to-read format. Avoid using markdown tables for
11301105
presenting data; use plain text formatting instead.
1106+
1107+
- You SHOULD keep the user informed by providing message_title and
1108+
message_description
1109+
parameters when calling tools. These optional parameters are available on
1110+
all tools and will automatically notify the user of your progress.
11311111
</mandatory_instructions>
11321112
11331113
<capabilities>
@@ -1351,6 +1331,11 @@ def multi_modal_agent(options: Chat):
13511331
summary of your analysis or the generated media, presented in a clear,
13521332
detailed, and easy-to-read format. Avoid using markdown tables for
13531333
presenting data; use plain text formatting instead.
1334+
1335+
- You SHOULD keep the user informed by providing message_title and
1336+
message_description
1337+
parameters when calling tools. These optional parameters are available on
1338+
all tools and will automatically notify the user of your progress.
13541339
<mandatory_instructions>
13551340
13561341
<capabilities>

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.10,<3.11"
77
dependencies = [
88
"pip>=23.0",
9-
"camel-ai[eigent]==0.2.83a3",
9+
"camel-ai[eigent]==0.2.83a5",
1010
"fastapi>=0.115.12",
1111
"fastapi-babel>=1.0.0",
1212
"uvicorn[standard]>=0.34.2",

0 commit comments

Comments
 (0)