Skip to main content

Module project

Module project 

Source
Expand description

GeminiProjector โ€” maps a ConversationView back to a Gemini Conversation.

This is the inverse of crate::provider::to_view: where to_view reads a Gemini session directory into a provider-agnostic view, GeminiProjector serializes that view back into the on-disk chat format. Round-tripping is best-effort and lossy on Gemini-only fields (full token breakdown, per-thought timestamps, per-tool-call status/displayName) โ€” the IR no longer carries them.

Structsยง

GeminiProjector
Project a ConversationView into a Gemini Conversation.