diff --git a/ai/processor.py b/ai/processor.py index a125bb6..6616a34 100644 --- a/ai/processor.py +++ b/ai/processor.py @@ -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)), ) ) diff --git a/objects/aic.py b/objects/aic.py index b4e7767..24ac3cd 100644 --- a/objects/aic.py +++ b/objects/aic.py @@ -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"],