Fix system_fingerprint type

This commit is contained in:
Dongri Jin
2023-12-28 11:11:35 +08:00
parent 5abd7dfc84
commit d2e2166fe9

View File

@ -159,7 +159,7 @@ pub struct ChatCompletionResponse {
pub model: String, pub model: String,
pub choices: Vec<ChatCompletionChoice>, pub choices: Vec<ChatCompletionChoice>,
pub usage: common::Usage, pub usage: common::Usage,
pub system_fingerprint: String, pub system_fingerprint: Option<String>,
} }
#[derive(Debug, Serialize, Deserialize, Clone)] #[derive(Debug, Serialize, Deserialize, Clone)]