Follow-up from PR #1635 (Gemini Phase 3 tool use).
GeminiStreamPart in sse.rs does not have a function_call field. When Gemini streams a tool call response via SSE, the functionCall chunks are silently dropped.
Today chat_with_tools() uses the non-streaming endpoint, so this is safe. But if streaming tool use is added in the future, the SSE parser must be extended.
Add a TODO comment in the SSE streaming code noting this limitation, and create a tracking issue for Phase 4 (streaming tool use) of epic #1592.
Follow-up from PR #1635 (Gemini Phase 3 tool use).
GeminiStreamPartinsse.rsdoes not have afunction_callfield. When Gemini streams a tool call response via SSE, thefunctionCallchunks are silently dropped.Today
chat_with_tools()uses the non-streaming endpoint, so this is safe. But if streaming tool use is added in the future, the SSE parser must be extended.Add a TODO comment in the SSE streaming code noting this limitation, and create a tracking issue for Phase 4 (streaming tool use) of epic #1592.