Files
frigate/frigate
Josh HawkinsandGitHub 50b976889b Harden chat tool approvals (#25062)
* use server-generated tool call ids and drop remote images from chat messages

Chat write-tool approvals were keyed by the provider's tool call id, but Gemini uses the function name as the id and Ollama falls back to call_0, call_1, so a later or repeated write call in the same request reused an earlier approval and ran without a prompt. Each tool call the model returns now gets a unique server-generated id, and the Gemini plugin resolves a tool result's function name from the assistant's tool calls instead of from the id. Client message content now keeps only text parts and data:image/ image parts, so OpenAI-compatible servers and llama-server are never handed a remote URL to fetch.

* remove client image filter from chat messages
2026-11-24 06:35:19 -07:00
..
2026-11-14 07:34:17 -07:00
2026-11-24 06:35:19 -07:00
2026-11-23 07:02:15 -07:00
2026-09-19 08:10:36 -06:00
2026-11-17 14:25:05 -07:00
2026-11-24 06:19:52 -07:00
2026-11-24 06:35:19 -07:00
2026-11-24 06:35:19 -07:00
2021-01-26 21:40:33 -06:00
2026-11-06 07:43:38 -07:00
2026-10-10 15:01:33 -05:00
2026-11-06 07:43:38 -07:00
2026-03-26 12:54:12 -06:00
2026-11-24 06:19:52 -07:00