Skip to content

Commit 5663acd

Browse files
authored
feat: abandon support for lingyiwanwu client (#1327)
1 parent ffcb19d commit 5663acd

4 files changed

Lines changed: 1 addition & 24 deletions

File tree

Argcfile.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ _argc_before() {
317317
github,gpt-4o-mini,https://models.inference.ai.azure.com \
318318
groq,llama-3.1-8b-instant,https://api.groq.com/openai/v1 \
319319
hunyuan,hunyuan-large,https://api.hunyuan.cloud.tencent.com/v1 \
320-
lingyiwanwu,yi-lightning,https://api.lingyiwanwu.com/v1 \
321320
minimax,MiniMax-Text-01,https://api.minimax.chat/v1 \
322321
mistral,mistral-small-latest,https://api.mistral.ai/v1 \
323322
moonshot,moonshot-v1-8k,https://api.moonshot.cn/v1 \

config.example.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,12 +276,6 @@ clients:
276276
api_base: https://open.bigmodel.cn/api/paas/v4
277277
api_key: xxx
278278

279-
# See https://platform.lingyiwanwu.com/docs
280-
- type: openai-compatible
281-
name: lingyiwanwu
282-
api_base: https://api.lingyiwanwu.com/v1
283-
api_key: xxx
284-
285279
# See https://platform.minimaxi.com/document/Fast%20access
286280
- type: openai-compatible
287281
name: minimax

models.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,21 +1408,6 @@
14081408
max_input_tokens: 4096
14091409
input_price: 0.112
14101410

1411-
# Links:
1412-
# - https://platform.lingyiwanwu.com/docs#%E6%A8%A1%E5%9E%8B%E4%B8%8E%E8%AE%A1%E8%B4%B9
1413-
# - https://platform.lingyiwanwu.com/docs/api-reference#create-chat-completion
1414-
- provider: lingyiwanwu
1415-
models:
1416-
- name: yi-lightning
1417-
max_input_tokens: 16384
1418-
input_price: 0.14
1419-
output_price: 0.14
1420-
- name: yi-vision-v2
1421-
max_input_tokens: 16384
1422-
input_price: 0.84
1423-
output_price: 0.84
1424-
supports_vision: true
1425-
14261411
# Links:
14271412
# - https://platform.minimaxi.com/document/Price
14281413
# - https://platform.minimaxi.com/document/ChatCompletion%20v2

src/client/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ register_client!(
3333
(bedrock, "bedrock", BedrockConfig, BedrockClient),
3434
);
3535

36-
pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 19] = [
36+
pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 18] = [
3737
("ai21", "https://api.ai21.com/studio/v1"),
3838
(
3939
"cloudflare",
@@ -45,7 +45,6 @@ pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 19] = [
4545
("github", "https://models.inference.ai.azure.com"),
4646
("groq", "https://api.groq.com/openai/v1"),
4747
("hunyuan", "https://api.hunyuan.cloud.tencent.com/v1"),
48-
("lingyiwanwu", "https://api.lingyiwanwu.com/v1"),
4948
("minimax", "https://api.minimax.chat/v1"),
5049
("mistral", "https://api.mistral.ai/v1"),
5150
("moonshot", "https://api.moonshot.cn/v1"),

0 commit comments

Comments
 (0)