Merge pull request #35 from dongri/fix-function-call-type

Add none to function call type
This commit is contained in:
Dongri Jin
2023-10-06 09:27:12 +09:00
committed by GitHub

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 },
} }