diff --git a/libs/python/agent/agent/agent.py b/libs/python/agent/agent/agent.py index 9339e9a8..fb119a68 100644 --- a/libs/python/agent/agent/agent.py +++ b/libs/python/agent/agent/agent.py @@ -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"))