mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-08-23 15:48:07 +00:00
Merge pull request #55 from sharifhsn/system-fingerprint
Add the `system_fingerprint` field to the chat completion response
This commit is contained in:
@ -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)]
|
||||||
|
Reference in New Issue
Block a user