Artifact 7b58b7282fd28b541c66b0cd020e2bc6645bf1ff8276e30c1afe20f4dda36c52:
- File
test/pic/gemini-streams/thinking_text.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: 490) [annotate] [blame] [check-ins using] [more...]
result: ok stop: stop usage: {"input_tokens":20,"output_tokens":17,"cache_read_input_tokens":10,"reasoning_tokens":12,"total_tokens":47} id: resp-aaa native: [{"text":"**Plan**\nCheck the file.","thought":true,"thoughtSignature":"c2lnLXRob3VnaHQ="},{"text":"Hello, \"world\"\n","thoughtSignature":"c2lnLXRleHQ="}] neutral: [{"type":"thinking","thinking":"**Plan**\nCheck the file.","signature":"c2lnLXRob3VnaHQ="},{"type":"text","text":"Hello, \"world\"\n","textSignature":"c2lnLXRleHQ="}]