//! Gemini `generateContent` / `streamGenerateContent` wire codec.
//!
//! Builds a Google generativeLanguage v1beta request from a
//! [`crate::wire::canonical::CanonicalRequest`], parses the buffered reply into
//! a [`crate::wire::canonical::CanonicalResponse`], and maps the SSE byte
//! stream (`?alt=sse`) to [`crate::wire::canonical::CanonicalEvent`]s.
//!
//! Gemini authenticates with an `x-goog-api-key` header (the `?key=` query
//! param is the alternative; this codec uses the header so keys stay out of
//! request lines and logs). The wire shapes are kept private to this module so
//! the shared wire codec stays free of the agent-side `domain/ai` crate.
pub use build_request_body;
pub use ;
pub use sse_to_canonical_events;
pub const API_KEY_HEADER: &str = "x-goog-api-key";