This commit is contained in:
Nicolas Mowen 2026-01-20 08:00:52 -07:00
parent 4eeac987b8
commit b80a4a5985

View File

@ -139,7 +139,6 @@ class GeminiClient(GenAIClient):
)
contents.append({"role": "model", "parts": parts})
elif role == "tool":
tool_call_id = msg.get("tool_call_id")
tool_name = msg.get("name", "")
tool_result = (
json.loads(content) if isinstance(content, str) else content