Artifact 259838bc3fe7e6799a41d13e35e700dc845c2e46325ede90445db4996b1067d6:
- File
test/pic/gemini-streams/parallel_calls.want
— part of check-in
[1011fc8472]
at
2026-11-19 23:29:07
on branch gemini
— A Google Gemini provider, as Pi's
The google-generative-ai API: streamGenerateContent over SSE with GEMINI_API_KEY, native parts replayed per conversation, tool calls and results, usage, and Pi's thinking mapping (thinkingLevel for Gemini 3 and later, a token budget for 2.5, 0 for off). A conversation can move between Gemini and the other providers turn by turn. Recorded streams cover text, thinking, tools, parallel calls, safety blocks, truncation and errors. (user: dmestas, size: 602) [annotate] [blame] [check-ins using] [more...]
result: ok stop: toolUse usage: {"input_tokens":40,"output_tokens":30,"cache_read_input_tokens":0,"reasoning_tokens":0,"total_tokens":70} id: resp-par native: [{"functionCall":{"name":"read","args":{"path":"a.txt"},"id":"call-a"}},{"functionCall":{"name":"read","args":{"path":"b.txt"}}},{"functionCall":{"name":"read","args":{"path":"c.txt"},"id":"call-a"}}] neutral: [{"type":"toolCall","id":"call-a","name":"read","arguments":{"path":"a.txt"}},{"type":"toolCall","id":"read_2","name":"read","arguments":{"path":"b.txt"}},{"type":"toolCall","id":"read_3","name":"read","arguments":{"path":"c.txt"}}]