summaryrefslogtreecommitdiffstats
path: root/src/client/openai.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-03-22 19:24:22 +0800
committerGitHub <noreply@github.com>2024-03-22 19:24:22 +0800
commit527da63d18def9cec29c89387de988b43acb7d24 (patch)
tree368286b2ae7dfc374f43ae8829ab1107399d7c83 /src/client/openai.rs
parent4d52479545082254315171d6716ee9c3588f76f5 (diff)
downloadaichat-527da63d18def9cec29c89387de988b43acb7d24.tar.gz
refactor: do not automatically convert temperature value (#368)
Diffstat (limited to 'src/client/openai.rs')
-rw-r--r--src/client/openai.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/openai.rs b/src/client/openai.rs
index 2c8aabf..1abdd48 100644
--- a/src/client/openai.rs
+++ b/src/client/openai.rs
@@ -115,7 +115,7 @@ pub async fn openai_send_message_streaming(
bail!("{err_msg}");
} else {
bail!("Request failed, {data}");
- }
+ }
}
EventSourceError::StreamEnded => {}
_ => {