fix tool name

This commit is contained in:
2026-07-27 09:47:07 +07:00
parent e0e6aced33
commit e5b8518c00
+5 -2
View File
@@ -778,9 +778,12 @@ function generatechat!(a::T; maxattempt::Integer=10
# you should then respond to the user with interleaving plan, action_name, action_input in JSON format
1) "plan", Based on the current situation, state a complete action plan to complete the task and rationale. Be specific.
2) "action_name", Must be "CHAT_BOX
2) "action_name", action_name must be CHAT_BOX.
3) "action_input", Dialogue you want to chat with the user according to your plan.
After the action is executed you gets "action_result". It is the output from the action you selected.
# available actions
"CHAT_BOX", which you can use to talk with the user. The input is dialogue you want to chat with the user according to your plan.
"""
system_msg = Dict(
@@ -817,7 +820,7 @@ function generatechat!(a::T; maxattempt::Integer=10
),
"action_name"=> Dict(
"type"=> "string",
"description" => "Must be CHAT_BOX",
"description" => "action_name must be CHAT_BOX",
),
"action_input"=> Dict(
"type"=> "string",