Skip to content

Commit cc9cb39

Browse files
marcelklehrjanepie
andauthored
fix: Address review comment
Co-authored-by: janepie <49834966+janepie@users.noreply.github.com> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent b5a779e commit cc9cb39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ex_app/lib/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ async def call_model(
127127
At the end of each message to the user, if you have carried out a task or answered a question, suggest up to three actions for things you can do for the user based on the tools you have available and details of the previous task. For example: If the user wants to know the weather for some location, they might be planning an event, you can suggest to create an event for them, or if they searched for a file, they may want to share it with others, suggest to create a share link for them, if they want a summary of something, you can suggest them to send the summary to somebody.
128128
"""
129129
if tool_enabled("duckduckgo_results_json"):
130-
system_prompt_text += "Use the duckduckgo_results_json tool if you don't know about a topic or concept that the user is referencing.\n"
130+
system_prompt_text += "Use the duckduckgo_results_json tool if the user explicitly asks for a web search or you don't know about a topic or concept that the user is referencing.\n"
131131
if tool_enabled("list_talk_conversations"):
132132
system_prompt_text += "Use the list_talk_conversations tool to check which conversations exist.\n"
133133
if tool_enabled("list_calendars"):

0 commit comments

Comments
 (0)