summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-05-07 16:16:18 +0800
committerGitHub <noreply@github.com>2024-05-07 16:16:18 +0800
commit0071d84aa538364b70d9db8fcecf9f3ea64ead5e (patch)
treeee48f87d7858fd214eaa8ab633c82ccc5fd4eada /src/client
parent5b33c7356fddfc07a95b853734d1a609d43cca32 (diff)
downloadaichat-0071d84aa538364b70d9db8fcecf9f3ea64ead5e.tar.gz
feat: support deepseek client (#490)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 07f5f57..ab28032 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -45,9 +45,10 @@ register_client!(
(qianwen, "qianwen", QianwenConfig, QianwenClient),
);
-pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 10] = [
+pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 11] = [
("anyscale", "https://api.endpoints.anyscale.com/v1"),
("deepinfra", "https://api.deepinfra.com/v1/openai"),
+ ("deepseek", "https://api.deepseek.com"),
("fireworks", "https://api.fireworks.ai/inference/v1"),
("groq", "https://api.groq.com/openai/v1"),
("mistral", "https://api.mistral.ai/v1"),