fix: update tool call content formatting and enhance mouse click description
This commit is contained in:
parent
36cfeffe9c
commit
7192f4bc18
@ -117,7 +117,7 @@ class AIProcessor:
|
||||
self.session.messages.append(
|
||||
aic.Message(
|
||||
role="assistant",
|
||||
content=str(tool_calls),
|
||||
content=str(((tc.function.name, tc.function.arguments) for tc in tool_calls)),
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -31,7 +31,7 @@ FUNCTIONS = [
|
||||
"click_type": {
|
||||
"type": "string",
|
||||
"enum": ["left", "double_left", "middle", "right"],
|
||||
"description": "The type of mouse click to perform. `double_left` is a double click."
|
||||
"description": "The type of mouse click to perform. `double_left` is a double click, used to open apps or files."
|
||||
}
|
||||
},
|
||||
"required": ["click_type", "x", "y"],
|
||||
|
Loading…
Reference in New Issue
Block a user