Skip to main content

AnthropicRequestOptions

Type Alias AnthropicRequestOptions 

Source
pub type AnthropicRequestOptions = AnthropicCodecOptions;
Expand description

Alias for AnthropicCodecOptions when used for provider request generation.

Aliased Type§

pub struct AnthropicRequestOptions {
    pub model: String,
    pub max_tokens: u64,
    pub stream: bool,
    pub tools: bool,
}

Fields§

§model: String

Model identifier to place in the generated request.

§max_tokens: u64

Maximum output tokens for the request body.

§stream: bool

Whether to request a streamed SSE response.

§tools: bool

Whether to include tool schemas from the request transcript.