diff options
| author | sigoden <sigoden@gmail.com> | 2024-10-03 12:41:01 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-03 12:41:01 +0800 |
| commit | 7f37317afb4c4d2b373b30b8066084ce6439d694 (patch) | |
| tree | b8313e6857f12d3cbdbc45c8edc3843f0fa27922 /src/client | |
| parent | e009f2e241a7e4319240d919f76924f4316be242 (diff) | |
| download | aichat-7f37317afb4c4d2b373b30b8066084ce6439d694.tar.gz | |
feat: remove support for octoai (#901)
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs index 8c4babe..24ced99 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -35,7 +35,7 @@ register_client!( (ernie, "ernie", ErnieConfig, ErnieClient), ); -pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 21] = [ +pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 20] = [ ("ai21", "https://api.ai21.com/studio/v1"), ("cloudflare", ""), ("deepinfra", "https://api.deepinfra.com/v1/openai"), @@ -48,7 +48,6 @@ pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 21] = [ ("mistral", "https://api.mistral.ai/v1"), ("moonshot", "https://api.moonshot.cn/v1"), ("openrouter", "https://openrouter.ai/api/v1"), - ("octoai", "https://text.octoai.run/v1"), ("ollama", ""), ("perplexity", "https://api.perplexity.ai"), ( |
