Skip to main content

Crate cookie_agent_models

Crate cookie_agent_models 

Source
Expand description

Current-only dynamic provider/model facade.

Re-exports§

pub use authoring::AdaptorOptions;
pub use authoring::AnthropicCacheConfig;
pub use authoring::AuthDefinition;
pub use authoring::AuthoredCapabilities;
pub use authoring::BedrockCacheConfig;
pub use authoring::CacheTtl;
pub use authoring::HeaderName;
pub use authoring::ModelPricing;
pub use authoring::ModelsDevProvider;
pub use authoring::OpenAiCacheConfig;
pub use authoring::OpenAiCacheMode;
pub use authoring::OpenAiCompatibleCacheConfig;
pub use authoring::OpenAiPromptCacheRetention;
pub use authoring::OpenAiPromptCacheTtl;
pub use authoring::ProviderCacheConfig;
pub use authoring::ProviderDefinition;
pub use authoring::RequestEndpoint;
pub use authoring::RollingCacheTtl;
pub use authoring::SecretString;
pub use authoring::VariantDefinition;
pub use authoring::AuthOverride;
pub use authoring::BoundedSetupString;
pub use authoring::ConfigSetupValue;
pub use authoring::CustomModelDefinition;
pub use authoring::CustomProvider;
pub use authoring::EndpointUrl;
pub use authoring::ManagedModelOverride;
pub use authoring::ManagedModelShape;
pub use authoring::PartialRequestDefaults;
pub use authoring::SafeAuthParameterValue;
pub use authoring::SafeSetupValue;
pub use authoring::SafeStaticHeaderValue;
pub use authoring::deserialize_headers;
pub use authoring::validate_header_limits;
pub use authoring::validate_header_ownership;
pub use manager::CompiledModelRuntime;
pub use manager::CompiledProviderState;
pub use manager::CompiledRuntimeModel;
pub use manager::EffectiveCredentialSource;
pub use manager::ModelManager;
pub use manager::ModelManagerError;
pub use manager::ModelMutationResult;
pub use manager::ProviderConnectRequest;
pub use manager::ProviderDisconnectRequest;
pub use manager::ProviderPresence;
pub use manager::ResolvedExecutableModel;
pub use manager::RuntimeProviderSource;
pub use manager::safe_definition_fingerprint;

Modules§

adapters
Reviewed Oven adapter recipes used by Registry 1.
authoring
Strict provider authoring data transfer objects.
catalog
Fixed models.dev acquisition, cache schema 2, bootstrap, and structural validation.
compiler
Registry-1 dynamic managed/custom model compiler.
manager
Atomic dynamic model runtime construction and provider-store orchestration.
manifests
In-memory model manifests, schema 1: the canonical, fingerprinted form of the current runtime’s models that run bindings are frozen against. Nothing here is persisted.
provider_store
Secure per-user managed provider store schema 3.
recipes
Code-owned recipe registry schema 1.
secure_store
Reusable storage primitives with private-at-creation state.

Structs§

ConstructedAdapter
FiniteF32
MediaCapability
MimeType
ModelCapabilities
Compiled capabilities; authored declarations use AuthoredCapabilities.
ProviderOptions
Authoring options are an adapter-neutral overlay; protocol options are a tagged adapter enum.
RequestDefaults
Authoring defaults permit omitted optional fields and are validated against capabilities later.
ResolvedRequestDefaults
Runtime-ready authoring defaults retain request application behavior and permissive decoding.
Sha256Digest
Internal digest decoding remains permissive for existing compiled model state.

Enums§

CancellationCapability
CompactionCapability
MediaKind
Modality
ModelTypeError
NativeCompactionConfig
ReasoningBehavior
ReasoningEffort
ReplayCapability
ToolChoice
Authoring tool choices keep arbitrary names; protocol names are length-validated.