summaryrefslogtreecommitdiffstats
path: root/src/client/common.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-12-19 20:47:15 +0800
committerGitHub <noreply@github.com>2023-12-19 20:47:15 +0800
commit6fb13359f474f575fa87924884d9f46a312b6d21 (patch)
tree5d8147badd84c9be4b3e025a6bd6b31b778eb3de /src/client/common.rs
parent6286251d320a7f512e49534c30b42452d30d93cc (diff)
downloadaichat-6fb13359f474f575fa87924884d9f46a312b6d21.tar.gz
feat: abandon PaLM2 (#274)
Diffstat (limited to 'src/client/common.rs')
-rw-r--r--src/client/common.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/common.rs b/src/client/common.rs
index 98cffa2..9ff02ba 100644
--- a/src/client/common.rs
+++ b/src/client/common.rs
@@ -292,6 +292,7 @@ pub fn create_config(list: &[PromptType], client: &str) -> Result<Value> {
Ok(clients)
}
+#[allow(unused)]
pub async fn send_message_as_streaming<F, Fut>(
builder: RequestBuilder,
handler: &mut ReplyHandler,