mirror of
https://github.com/trycua/computer.git
synced 2026-01-03 03:49:58 -06:00
Merge pull request #480 from masterbatcoderman10/fix/f-string-error-handle-item
Fix: Corrected f-string syntax error in agent.py
This commit is contained in:
@@ -533,7 +533,7 @@ class ComputerAgent:
|
||||
# Perform function call
|
||||
function = self._get_tool(item.get("name"))
|
||||
if not function:
|
||||
raise ToolError(f"Function {item.get("name")} not found")
|
||||
raise ToolError(f"Function {item.get('name')} not found")
|
||||
|
||||
args = json.loads(item.get("arguments"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user