use std::num::NonZeroU64;
use crate::generated::schemas::CreateChatCompletionRequest;
impl Default for CreateChatCompletionRequest {
fn default() -> Self {
Self {
model: String::new(),
messages: Vec::new(),
frequency_penalty: 0.0,
logit_bias: std::collections::HashMap::new(),
logprobs: false,
max_completion_tokens: None,
max_tokens: None,
n: NonZeroU64::MIN, parallel_tool_calls: true,
presence_penalty: 0.0,
reasoning_effort: None,
reasoning_format: None,
response_format: None,
seed: None,
stop: None,
stream: false,
stream_options: None,
temperature: 1.0,
tool_choice: None,
tools: Vec::new(),
top_logprobs: None,
top_p: 1.0,
user: None,
}
}
}