chore(agent): document Tavily-first behavior for web_search
Signed-off-by: Asklv <boironic@gmail.com>
This commit is contained in:
@@ -36,7 +36,7 @@ esp_err_t context_build_system_prompt(char *buf, size_t size)
|
|||||||
"Be helpful, accurate, and concise.\n\n"
|
"Be helpful, accurate, and concise.\n\n"
|
||||||
"## Available Tools\n"
|
"## Available Tools\n"
|
||||||
"You have access to the following tools:\n"
|
"You have access to the following tools:\n"
|
||||||
"- web_search: Search the web for current information. "
|
"- web_search: Search the web for current information (Tavily preferred, Brave fallback when configured). "
|
||||||
"Use this when you need up-to-date facts, news, weather, or anything beyond your training data.\n"
|
"Use this when you need up-to-date facts, news, weather, or anything beyond your training data.\n"
|
||||||
"- get_current_time: Get the current date and time. "
|
"- get_current_time: Get the current date and time. "
|
||||||
"You do NOT have an internal clock — always use this tool when you need to know the time or date.\n"
|
"You do NOT have an internal clock — always use this tool when you need to know the time or date.\n"
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ esp_err_t tool_registry_init(void)
|
|||||||
|
|
||||||
mimi_tool_t ws = {
|
mimi_tool_t ws = {
|
||||||
.name = "web_search",
|
.name = "web_search",
|
||||||
.description = "Search the web for current information. Use this when you need up-to-date facts, news, weather, or anything beyond your training data.",
|
.description = "Search the web for current information via Tavily (preferred) or Brave when configured.",
|
||||||
.input_schema_json =
|
.input_schema_json =
|
||||||
"{\"type\":\"object\","
|
"{\"type\":\"object\","
|
||||||
"\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query\"}},"
|
"\"properties\":{\"query\":{\"type\":\"string\",\"description\":\"The search query\"}},"
|
||||||
|
|||||||
Reference in New Issue
Block a user