summaryrefslogtreecommitdiffstats
path: root/src/client/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/mod.rs')
-rw-r--r--src/client/mod.rs15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index b2bd3de..80f526a 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -22,12 +22,6 @@ register_client!(
OpenAICompatibleConfig,
OpenAICompatibleClient
),
- (
- rag_dedicated,
- "rag-dedicated",
- RagDedicatedConfig,
- RagDedicatedClient
- ),
(gemini, "gemini", GeminiConfig, GeminiClient),
(claude, "claude", ClaudeConfig, ClaudeClient),
(cohere, "cohere", CohereConfig, CohereClient),
@@ -46,11 +40,13 @@ register_client!(
(qianwen, "qianwen", QianwenConfig, QianwenClient),
);
-pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 12] = [
+pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 14] = [
("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"),
+ ("jina", "https://api.jina.ai/v1"),
+ ("lingyiwanwu", "https://api.lingyiwanwu.com/v1"),
("mistral", "https://api.mistral.ai/v1"),
("moonshot", "https://api.moonshot.cn/v1"),
("openrouter", "https://openrouter.ai/api/v1"),
@@ -58,10 +54,5 @@ pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 12] = [
("perplexity", "https://api.perplexity.ai"),
("together", "https://api.together.xyz/v1"),
("zhipuai", "https://open.bigmodel.cn/api/paas/v4"),
- ("lingyiwanwu", "https://api.lingyiwanwu.com/v1"),
-];
-
-pub const RAG_DEDICATED_PLATFORMS: [(&str, &str); 2] = [
- ("jina", "https://api.jina.ai/v1"),
("voyageai", "https://api.voyageai.com/v1"),
];