Skip to content

Commit c2190c5

Browse files
committed
perf: delete tool info statements in prompt parts
Signed-off-by: Jana Peper <[email protected]>
1 parent 77048cc commit c2190c5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ex_app/lib/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def call_model(
6969
Use the same language for your answers as the user used in their message.
7070
Today is {CURRENT_DATE}.
7171
Detect the language the user is using. Reply in the detected language. Do not output the detected language.
72-
Only use the duckduckgo_results_json tool if the user explicitly asks for a web search.
72+
Only use the duckduckgo_results_json tool if the user explicitly asks for a web search.
7373
You can check which conversations exist using the list_talk_conversations tool, if a conversation cannot be found.
7474
You can check which calendars exist using the list_calendars tool, if a calendar can not be found.
7575
you can find out a user's email address and location by using the find_person_in_contacts tool.

ex_app/lib/all_tools/external.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def get_coordinates_for_address(address: str) -> (str, str):
3636
def get_current_weather_for_coordinates(lat: str, lon: str) -> dict[str, typing.Any]:
3737
"""
3838
Retrieve the current weather for a given latitude and longitude
39-
When using this tool, you must let the user know that the internet service met.no was used.
4039
:param lat: Latitude
4140
:param lon: Longitude
4241
:return:

0 commit comments

Comments
 (0)