diff options
| author | sigoden <sigoden@gmail.com> | 2024-05-07 16:16:18 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-07 16:16:18 +0800 |
| commit | 0071d84aa538364b70d9db8fcecf9f3ea64ead5e (patch) | |
| tree | ee48f87d7858fd214eaa8ab633c82ccc5fd4eada /src/client | |
| parent | 5b33c7356fddfc07a95b853734d1a609d43cca32 (diff) | |
| download | aichat-0071d84aa538364b70d9db8fcecf9f3ea64ead5e.tar.gz | |
feat: support deepseek client (#490)
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/mod.rs | 3 |
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"), |
