fix: update tool call content formatting and enhance mouse click description

This commit is contained in:
Showdown76 2025-05-19 20:42:18 +02:00
parent 36cfeffe9c
commit 7192f4bc18
2 changed files with 2 additions and 2 deletions

View File

@ -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)),
)
)

View File

@ -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"],