mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-23 20:48:31 +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})
|
contents.append({"role": "model", "parts": parts})
|
||||||
elif role == "tool":
|
elif role == "tool":
|
||||||
tool_call_id = msg.get("tool_call_id")
|
|
||||||
tool_name = msg.get("name", "")
|
tool_name = msg.get("name", "")
|
||||||
tool_result = (
|
tool_result = (
|
||||||
json.loads(content) if isinstance(content, str) else content
|
json.loads(content) if isinstance(content, str) else content
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user