mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-22 12:08:29 +03:00
Cleanup
This commit is contained in:
parent
4eeac987b8
commit
b80a4a5985
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user