mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-08-23 15:48:07 +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)]
|
#[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 },
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user