summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xArgcfile.sh1
-rw-r--r--config.example.yaml6
-rw-r--r--models.yaml15
-rw-r--r--src/client/mod.rs3
4 files changed, 1 insertions, 24 deletions
diff --git a/Argcfile.sh b/Argcfile.sh
index e03c3a1..c38d9fa 100755
--- a/Argcfile.sh
+++ b/Argcfile.sh
@@ -317,7 +317,6 @@ _argc_before() {
github,gpt-4o-mini,https://models.inference.ai.azure.com \
groq,llama-3.1-8b-instant,https://api.groq.com/openai/v1 \
hunyuan,hunyuan-large,https://api.hunyuan.cloud.tencent.com/v1 \
- lingyiwanwu,yi-lightning,https://api.lingyiwanwu.com/v1 \
minimax,MiniMax-Text-01,https://api.minimax.chat/v1 \
mistral,mistral-small-latest,https://api.mistral.ai/v1 \
moonshot,moonshot-v1-8k,https://api.moonshot.cn/v1 \
diff --git a/config.example.yaml b/config.example.yaml
index 0c41554..9537b0e 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -276,12 +276,6 @@ clients:
api_base: https://open.bigmodel.cn/api/paas/v4
api_key: xxx
- # See https://platform.lingyiwanwu.com/docs
- - type: openai-compatible
- name: lingyiwanwu
- api_base: https://api.lingyiwanwu.com/v1
- api_key: xxx
-
# See https://platform.minimaxi.com/document/Fast%20access
- type: openai-compatible
name: minimax
diff --git a/models.yaml b/models.yaml
index c8a9fcf..e7ca97e 100644
--- a/models.yaml
+++ b/models.yaml
@@ -1409,21 +1409,6 @@
input_price: 0.112
# Links:
-# - https://platform.lingyiwanwu.com/docs#%E6%A8%A1%E5%9E%8B%E4%B8%8E%E8%AE%A1%E8%B4%B9
-# - https://platform.lingyiwanwu.com/docs/api-reference#create-chat-completion
-- provider: lingyiwanwu
- models:
- - name: yi-lightning
- max_input_tokens: 16384
- input_price: 0.14
- output_price: 0.14
- - name: yi-vision-v2
- max_input_tokens: 16384
- input_price: 0.84
- output_price: 0.84
- supports_vision: true
-
-# Links:
# - https://platform.minimaxi.com/document/Price
# - https://platform.minimaxi.com/document/ChatCompletion%20v2
- provider: minimax
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 5492497..d0a4574 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -33,7 +33,7 @@ register_client!(
(bedrock, "bedrock", BedrockConfig, BedrockClient),
);
-pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 19] = [
+pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 18] = [
("ai21", "https://api.ai21.com/studio/v1"),
(
"cloudflare",
@@ -45,7 +45,6 @@ pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 19] = [
("github", "https://models.inference.ai.azure.com"),
("groq", "https://api.groq.com/openai/v1"),
("hunyuan", "https://api.hunyuan.cloud.tencent.com/v1"),
- ("lingyiwanwu", "https://api.lingyiwanwu.com/v1"),
("minimax", "https://api.minimax.chat/v1"),
("mistral", "https://api.mistral.ai/v1"),
("moonshot", "https://api.moonshot.cn/v1"),