Skip to main content

OpenAiRequestOptions

Type Alias OpenAiRequestOptions 

Source
pub type OpenAiRequestOptions = OpenAiCodecOptions;
Expand description

Alias for OpenAiCodecOptions when used for provider request generation.

Aliased Type§

pub struct OpenAiRequestOptions {
    pub model: String,
    pub stream: bool,
    pub tools: bool,
}

Fields§

§model: String

Model identifier to place in the generated request.

§stream: bool

Whether to request a streamed SSE response.

§tools: bool

Whether to include the tools field in the generated request.