2026-05-28 00:24:56 +08:00
|
|
|
mod auth;
|
2026-05-28 15:05:05 +08:00
|
|
|
mod policy;
|
2026-10-05 15:18:36 +08:00
|
|
|
mod profile;
|
|
|
|
|
pub use profile::{
|
|
|
|
|
gemini_cli_client_user_agent, gemini_cli_client_version, set_gemini_cli_client_version,
|
|
|
|
|
};
|
2026-05-21 15:38:10 +08:00
|
|
|
mod request;
|
|
|
|
|
mod url;
|
|
|
|
|
|
2026-05-28 00:24:56 +08:00
|
|
|
pub use auth::{
|
2026-05-28 13:19:42 +08:00
|
|
|
is_gemini_cli_provider_transport, resolve_gemini_cli_project_id,
|
|
|
|
|
resolve_local_gemini_cli_request_auth, GeminiCliRequestAuth, GeminiCliRequestAuthSupport,
|
|
|
|
|
GeminiCliRequestAuthUnsupportedReason, GEMINI_CLI_PROVIDER_TYPE,
|
2026-05-28 00:24:56 +08:00
|
|
|
};
|
2026-05-28 15:05:05 +08:00
|
|
|
pub use policy::gemini_cli_v1internal_requires_upstream_streaming;
|
2026-05-21 15:38:10 +08:00
|
|
|
pub use request::{
|
2026-05-28 00:24:56 +08:00
|
|
|
build_gemini_cli_v1internal_request, classify_gemini_cli_v1internal_request_body,
|
2026-05-21 15:38:10 +08:00
|
|
|
GeminiCliRequestEnvelopeSupport, GeminiCliRequestEnvelopeUnsupportedReason,
|
|
|
|
|
};
|
|
|
|
|
pub use url::{
|
|
|
|
|
build_gemini_cli_v1internal_url, GeminiCliRequestUrlAction,
|
|
|
|
|
GEMINI_CLI_RETRIEVE_USER_QUOTA_PATH, GEMINI_CLI_USER_AGENT,
|
|
|
|
|
GEMINI_CLI_V1INTERNAL_PATH_TEMPLATE,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
pub const GEMINI_CLI_V1INTERNAL_ENVELOPE_NAME: &str = "gemini_cli:v1internal";
|