Skip to main content

Crate agent_model_contract

Crate agent_model_contract 

Source
Expand description

Transport-neutral domain contract for Model Infra.

Structs§

AgentModelConfig
BuiltinModelConfig
CanonicalMessage
CanonicalModelRequest
CanonicalModelResponse
CreateModelProfileRequest
InvocationId
ListModelProfilesRequest
ListModelProfilesResponse
ModelActor
ModelCapabilities
ModelConfigId
ModelConnectionConfig
Provider connection shared by platform and Agent-owned model configuration. Credentials are deliberately excluded and are accepted only on write requests.
ModelError
ModelInvocation
ModelPolicy
ModelProfile
ModelProfileId
ModelUsageLedgerEntry
ModelUsageSummary
ProfileCommandRequest
ProviderEndpoint
SecretRef
TokenUsage
ToolDefinition
UpdateModelProfileRequest
UpsertAgentModelConfigRequest
UpsertBuiltinModelConfigRequest
WriteOnlyApiKey

Enums§

CanonicalContent
CanonicalModelEvent
CanonicalRole
InvocationChannel
InvocationState
Modality
ModelApiFamily
ModelCredentialSource
ModelErrorKind
ModelProfileStatus
ProviderKind

Constants§

AUDIENCE
DEFAULT_PORT
SERVICE_NAME

Functions§

capability
validate_identifier

Type Aliases§

ModelResult