From 7a592ce35dd6a06fe1b70045daee2315cf867435 Mon Sep 17 00:00:00 2001 From: Dongri Jin Date: Fri, 6 Oct 2023 09:26:49 +0900 Subject: [PATCH] Add none to function call type --- src/v1/chat_completion.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/v1/chat_completion.rs b/src/v1/chat_completion.rs index 5354bd1..8d590a7 100644 --- a/src/v1/chat_completion.rs +++ b/src/v1/chat_completion.rs @@ -16,6 +16,7 @@ pub const GPT4_0613: &str = "gpt-4-0613"; #[derive(Debug, Serialize)] #[allow(non_camel_case_types)] pub enum FunctionCallType { + none, auto, function { name: String }, }