From d2e2166fe918ff207fa4d4a5da774165e8a994dc Mon Sep 17 00:00:00 2001 From: Dongri Jin Date: Thu, 28 Dec 2023 11:11:35 +0800 Subject: [PATCH] Fix system_fingerprint type --- src/v1/chat_completion.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v1/chat_completion.rs b/src/v1/chat_completion.rs index 8381bc5..139e35b 100644 --- a/src/v1/chat_completion.rs +++ b/src/v1/chat_completion.rs @@ -159,7 +159,7 @@ pub struct ChatCompletionResponse { pub model: String, pub choices: Vec, pub usage: common::Usage, - pub system_fingerprint: String, + pub system_fingerprint: Option, } #[derive(Debug, Serialize, Deserialize, Clone)]