mod events;
mod request;
#[derive(Debug, Clone, Default)]
pub struct OpenAIScheme {
pub model: Option<String>,
pub use_legacy_max_tokens: bool,
}
impl OpenAIScheme {
pub fn new() -> Self {
Self::default()
}
pub fn with_legacy_max_tokens(mut self, use_legacy: bool) -> Self {
self.use_legacy_max_tokens = use_legacy;
self
}
}