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: StringModel identifier to place in the generated request.
max_tokens: u64Maximum output tokens for the request body.
stream: boolWhether to request a streamed SSE response.
tools: boolWhether to include tool schemas from the request transcript.