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:
James Murdza
2025-10-17 14:47:29 -07:00
committed by GitHub

View File

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