mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-20 02:41:14 +03:00
Cleanup
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user