Skip to content

Commit 010fe38

Browse files
author
Dongri Jin
authored
Merge pull request #35 from dongri/fix-function-call-type
Add none to function call type
2 parents cd058c0 + 7a592ce commit 010fe38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/v1/chat_completion.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub const GPT4_0613: &str = "gpt-4-0613";
1616
#[derive(Debug, Serialize)]
1717
#[allow(non_camel_case_types)]
1818
pub enum FunctionCallType {
19+
none,
1920
auto,
2021
function { name: String },
2122
}

0 commit comments

Comments
 (0)