|
|
@ -45,7 +45,7 @@ register_client!(
|
|
|
|
(qianwen, "qianwen", QianwenConfig, QianwenClient),
|
|
|
|
(qianwen, "qianwen", QianwenConfig, QianwenClient),
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 12] = [
|
|
|
|
pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 13] = [
|
|
|
|
("anyscale", "https://api.endpoints.anyscale.com/v1"),
|
|
|
|
("anyscale", "https://api.endpoints.anyscale.com/v1"),
|
|
|
|
("deepinfra", "https://api.deepinfra.com/v1/openai"),
|
|
|
|
("deepinfra", "https://api.deepinfra.com/v1/openai"),
|
|
|
|
("deepseek", "https://api.deepseek.com"),
|
|
|
|
("deepseek", "https://api.deepseek.com"),
|
|
|
@ -58,4 +58,5 @@ pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 12] = [
|
|
|
|
("perplexity", "https://api.perplexity.ai"),
|
|
|
|
("perplexity", "https://api.perplexity.ai"),
|
|
|
|
("together", "https://api.together.xyz/v1"),
|
|
|
|
("together", "https://api.together.xyz/v1"),
|
|
|
|
("zhipuai", "https://open.bigmodel.cn/api/paas/v4"),
|
|
|
|
("zhipuai", "https://open.bigmodel.cn/api/paas/v4"),
|
|
|
|
|
|
|
|
("lingyiwanwu", "https://api.lingyiwanwu.com/v1"),
|
|
|
|
];
|
|
|
|
];
|
|
|
|