Merge pull request #55 from sharifhsn/system-fingerprint

Add the `system_fingerprint` field to the chat completion response
This commit is contained in:
Dongri Jin
2023-12-28 10:56:37 +08:00
committed by GitHub

View File

@ -159,6 +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,
} }
#[derive(Debug, Serialize, Deserialize, Clone)] #[derive(Debug, Serialize, Deserialize, Clone)]