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.
The projector relies on the provider-specific data that
crate::provider::to_view stashes under Turn.extra["gemini"]:
the full tokens struct, per-thought metadata, per-tool-call
metadata (status, resultDisplay, description, displayName),
and any message-level extras picked up via #[serde(flatten)].
Structs§
- Gemini
Projector - Project a
ConversationViewinto a GeminiConversation.