pub struct ModelCapabilitiesLimits {
pub max_context_window_tokens: Option<i64>,
pub max_output_tokens: Option<i64>,
pub max_prompt_tokens: Option<i64>,
pub vision: Option<ModelCapabilitiesLimitsVision>,
}Expand description
Re-exports of generated protocol types that are part of the SDK’s
public API surface. The canonical definitions live in
crate::rpc; they live here so the crate-root
pub use types::* surfaces them alongside hand-written SDK types.
Re-exports of generated protocol types that are part of the SDK’s
public API surface. The canonical definitions live in
crate::rpc; they live here so the crate-root
pub use types::* surfaces them alongside hand-written SDK types.
Re-exports of generated protocol types that are part of the SDK’s
public API surface. The canonical definitions live in
crate::rpc; they live here so the crate-root
pub use types::* surfaces them alongside hand-written SDK types.
Token limits for prompts, outputs, and context window
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§max_context_window_tokens: Option<i64>Maximum total context window size in tokens
max_output_tokens: Option<i64>Maximum number of output/completion tokens
max_prompt_tokens: Option<i64>Maximum number of prompt/input tokens
vision: Option<ModelCapabilitiesLimitsVision>Vision-specific limits