diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-11 21:07:32 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-11 21:07:32 +0800 |
| commit | c0bfb90b204fccd1395e53e4fe977b34bcc6bca0 (patch) | |
| tree | ff18587d58098dce26ed4eddb965f9b95989ed07 /src/client/openai.rs | |
| parent | aa94fb2f831ef8a85e76d4b056811093dc4205cf (diff) | |
| download | aichat-c0bfb90b204fccd1395e53e4fe977b34bcc6bca0.tar.gz | |
refactor: improve openai client (#586)
Diffstat (limited to 'src/client/openai.rs')
| -rw-r--r-- | src/client/openai.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/openai.rs b/src/client/openai.rs index 926ec67..9d616ed 100644 --- a/src/client/openai.rs +++ b/src/client/openai.rs @@ -234,7 +234,6 @@ pub fn openai_build_chat_completions_body(data: ChatCompletionsData, model: &Mod }) }) .collect(); - body["tool_choice"] = "auto".into(); } body } |
