summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-24 07:16:56 +0800
committerGitHub <noreply@github.com>2024-04-24 07:16:56 +0800
commit0a4c0413ef0154cde2e3485ec0415e6069596a23 (patch)
tree02527d5ee4b23b43a34bf90eeb817e1cc066d97c /src/client
parent9c6c9f10a27d0993636b453f39d8934c95c5c2b2 (diff)
downloadaichat-0a4c0413ef0154cde2e3485ec0415e6069596a23.tar.gz
feat: serve all LLMs as OpenAI-compatible API (#431)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/reply_handler.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/reply_handler.rs b/src/client/reply_handler.rs
index e11ea1d..e024685 100644
--- a/src/client/reply_handler.rs
+++ b/src/client/reply_handler.rs
@@ -19,7 +19,7 @@ impl ReplyHandler {
}
pub fn text(&mut self, text: &str) -> Result<()> {
- debug!("ReplyText: {}", text);
+ // debug!("ReplyText: {}", text);
if text.is_empty() {
return Ok(());
}
@@ -33,7 +33,7 @@ impl ReplyHandler {
}
pub fn done(&mut self) -> Result<()> {
- debug!("ReplyDone");
+ // debug!("ReplyDone");
let ret = self
.sender
.send(ReplyEvent::Done)