Expand description
Agent model port and execution policy, using the shared model contract.
Structs§
- Completion
- Provider-neutral completion returned to Runtime.
- Completion
Request - One logical LLM invocation.
- Continuation
- Provider-issued replay data attached to exactly one completed model message. Adapters own the format and compatibility key. Callers must not synthesize or edit payloads.
- LlmFailure
- Model-specific failure that can retain usage returned before output validation failed.
- Message
- Provider-neutral conversation message.
- Model
Capabilities - Confirmed model capabilities. Missing information never establishes support.
- Model
Constraints - Caller-declared requirements. Listed input modalities and true flags require confirmed
support; an empty
inputlist and false flags impose no requirement. Adapters must not infer or override these declarations from message content. - Model
Mode - Logical model mode selected by the product, independent of provider and model identifiers.
- Model
Profile - Provider-neutral limits for one frozen logical model route.
- Token
Usage - Normalized token accounting reported by an implementation.
- Tool
Call - Tool call returned by an LLM.
- Tool
Definition - Tool schema exposed to an LLM.
- Tool
Policy - Runtime policy declared by a tool implementation.
- Usage
Summary - Aggregated model and tool usage for one Agent run.
- UseCase
- Logical model use case resolved by the deployment’s LLM implementation.
Enums§
- Approval
Policy - Whether approval is fixed by the schema or strengthened after canonical preparation.
- Approval
Requirement - When a prepared tool operation requires a user decision.
- Content
Part - One typed part of a model message.
- Finish
Reason - Why a model invocation stopped.
- Message
Role - Role of a message in a model conversation.
- Tool
Effect - Side-effect class used by Runtime access policy.
Constants§
- INPUT_
AUDIO - Audio input.
- INPUT_
FILE - Generic file input.
- INPUT_
IMAGE - Closed vocabulary for non-text model input.
textis implied and must not be listed. - INPUT_
VIDEO - Video input.
Traits§
- Llm
- LLM capability consumed by Runtime.
Functions§
- input_
modality_ for_ kind - Closed-vocabulary token for an artifact kind.
- payload_
input_ modalities - Distinct payload modalities required by
ArtifactandImageparts.