Skip to main content

Crate codex_model_provider

Crate codex_model_provider 

Source

Structs§

AgentIdentitySessionFallback
BearerAuthProvider
Bearer-token auth provider for OpenAI-compatible model-provider requests.
CoreAuthProvider
Bearer-token auth provider for OpenAI-compatible model-provider requests.
ProviderAccountState
Current app-visible account state for a model provider.
ProviderAuthScope
ProviderCapabilities
Optional provider-backed features that Codex may expose at runtime.
ResolvedProviderAuth
Provider auth resolved for a request, plus metadata describing the effective auth.

Enums§

ProviderAccount
Account state returned by a model provider before it is adapted to an app-facing wire type.
ProviderAccountError
Error returned when a provider cannot construct its app-visible account state.

Constants§

AMAZON_BEDROCK_PROVIDER_ID
CHATGPT_CODEX_BASE_URL

Traits§

ModelProvider
Runtime provider abstraction used by model execution.

Functions§

auth_provider_from_auth
Builds request-header auth for a first-party Codex auth snapshot.
auth_provider_from_auth_manager
Builds request-header auth that reads the current managed auth snapshot on every request while remaining scoped to the expected auth identity.
create_model_provider
Creates the default runtime model provider for configured provider metadata.
is_supported_amazon_bedrock_region
Returns whether Amazon Bedrock Mantle is available in region.
unauthenticated_auth_provider

Type Aliases§

ModelProviderFuture
ProviderAccountResult
SharedModelProvider
Shared runtime model provider handle.