Better support for Mistral errors

This commit is contained in:
Clément Renault 2025-06-12 14:46:44 +02:00
parent 596617dd31
commit 9ae73e3c05
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
3 changed files with 92 additions and 35 deletions

View file

@ -107,7 +107,7 @@ impl ChatCompletionSettings {
}
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, Default)]
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq, Default)]
#[serde(rename_all = "camelCase")]
pub enum ChatCompletionSource {
#[default]