google.internal.lower_journal
ai.Journal -> generateContent `contents`. Only promptable events lower; ai.RunStarted, ai.ToolRequested, ai.Usage, and ai.FinalProduced are journal-only. Consecutive tool results merge into ONE user content of functionResponse parts, matching how Gemini expects results for a multi-call turn.
Reference version
Signature
ai.Journal -> generateContent contents. Only promptable events lower;
ai.RunStarted, ai.ToolRequested, ai.Usage, and ai.FinalProduced are journal-only.
Consecutive tool results merge into ONE user content of functionResponse
parts, matching how Gemini expects results for a multi-call turn.
Source:<builtin>/google/ns_internal/gemini.bamlbytes 20738–24286