diff options
| author | sigoden <sigoden@gmail.com> | 2024-09-01 10:05:53 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-01 10:05:53 +0800 |
| commit | ef0810434cf60eeb33e8f61712c4023efe71876d (patch) | |
| tree | 77450abe9dbe9bebd83172003f4710dc3883bcb4 /src/client/openai.rs | |
| parent | 573e0d58b44cd0686c9e7405723e5cc3a5c5126f (diff) | |
| download | aichat-ef0810434cf60eeb33e8f61712c4023efe71876d.tar.gz | |
refactor: minor improvement (#818)
Diffstat (limited to 'src/client/openai.rs')
| -rw-r--r-- | src/client/openai.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/openai.rs b/src/client/openai.rs index e47ad4c..902a215 100644 --- a/src/client/openai.rs +++ b/src/client/openai.rs @@ -249,7 +249,7 @@ pub fn openai_build_chat_completions_body(data: ChatCompletionsData, model: &Mod }) ] - }).collect() + }).collect() } }, _ => vec![json!({ "role": role, "content": content })] |
