Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion XAgent/agent/dispatcher_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def retrieved_procedure(self, query: str) -> str:
][0]
except:
# For someone, this failed for a super secure SSL reason.
# Since it's not stricly necessary, let's worry about that another day. Should probably log this somehow though.
# Since it's not strictly necessary, let's worry about that another day. Should probably log this somehow though.
relevant_procedures = "None"

return relevant_procedures
Expand Down
4 changes: 2 additions & 2 deletions XAgent/agent/dispatcher_agent/prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# USER PROMPT:
# {{example_user_prompt}}

# Now, please generate additional content that the agent should pay attention to when dealing with the incoming task. Note your generated content will help the agent to avoid some mistakes and more effectively solve the target task. You should only generate the additional content and avoid those unnessesary words.
# Now, please generate additional content that the agent should pay attention to when dealing with the incoming task. Note your generated content will help the agent to avoid some mistakes and more effectively solve the target task. You should only generate the additional content and avoid those unnecessary words.

# Here are some prompts (resources) that maybe helpful for the given task, you could consider them. But they are irrelevant to the upcoming task, please just ignore it:
# {{retrieved_procedure}}
Expand All @@ -42,7 +42,7 @@

Now, please generate additional content that the agent should pay attention to when dealing with the incoming task. Your generated content should help the agent to avoid some mistakes and more effectively solve the target task.

You should only generate the ADDITIONAL user prompts, do not include the existing content. Make your additonal prompt concise and informative. When responding, you should follow the following response format:
You should only generate the ADDITIONAL user prompts, do not include the existing content. Make your additional prompt concise and informative. When responding, you should follow the following response format:
ADDITIONAL USER PROMPT:
```
Write your additional user prompt here. If there is nothing to add, just set it to a special token "[NONE]".
Expand Down