This commit is contained in:
2026-08-08 08:51:07 +07:00
parent c1ef544734
commit 04e75e61b8
6 changed files with 69 additions and 20 deletions
+2 -2
View File
@@ -140,14 +140,14 @@ function decisionMaker(a::T; recentevents::Integer=20, maxattempt=3
},
"action_name": {
"type": "string",
"enum": ["search_web", "get_weather", "calculate_math"],
"enum": ["search_web", "getWeather", "calculate_math"],
"description": "The exact name of the tool to execute."
},
"action_input": {
"type": "object",
"properties": {
"query": { "type": ["string", "null"], "description": "For search_web" },
"location": { "type": ["string", "null"], "description": "For get_weather" },
"location": { "type": ["string", "null"], "description": "For getWeather" },
"equation": { "type": ["string", "null"], "description": "For calculate_math" }
},
"required": ["query", "location", "equation"],