mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-08-22 23:25:39 +00:00
Merge pull request #35 from dongri/fix-function-call-type
Add none to function call type
This commit is contained in:
@ -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 },
|
||||
}
|
||||
|
Reference in New Issue
Block a user