Add none to function call type

This commit is contained in:
Dongri Jin
2023-10-06 09:26:49 +09:00
parent cd058c0ac2
commit 7a592ce35d

View File

@@ -16,6 +16,7 @@ pub const GPT4_0613: &str = "gpt-4-0613";
#[derive(Debug, Serialize)] #[derive(Debug, Serialize)]
#[allow(non_camel_case_types)] #[allow(non_camel_case_types)]
pub enum FunctionCallType { pub enum FunctionCallType {
none,
auto, auto,
function { name: String }, function { name: String },
} }