fix: 统一 Provider 命名风格(文心 ERNIE、讯飞星火、xAI、Perplexity AI)

This commit is contained in:
2026-02-23 15:12:11 +08:00
parent 646cee8992
commit 47eb290d3f
4 changed files with 5 additions and 5 deletions

View File

@@ -14,7 +14,7 @@
"models": [ "models": [
{ {
"modelName": "ernie-5.0-thinking-latest", "modelName": "ernie-5.0-thinking-latest",
"displayName": "ERNIE 5.0", "displayName": "文心 ERNIE 5.0",
"serviceType": ["chat", "reasoning"], "serviceType": ["chat", "reasoning"],
"description": "百度最新旗舰模型,支持深度推理、多模态和工具调用", "description": "百度最新旗舰模型,支持深度推理、多模态和工具调用",
"contextWindow": 131072, "contextWindow": 131072,
@@ -32,7 +32,7 @@
}, },
{ {
"modelName": "ernie-4.5-turbo-128k-latest", "modelName": "ernie-4.5-turbo-128k-latest",
"displayName": "ERNIE 4.5 Turbo 128K", "displayName": "文心 ERNIE 4.5 Turbo",
"serviceType": ["chat"], "serviceType": ["chat"],
"description": "百度高性价比长上下文模型128K 窗口,适合日常对话和文档处理", "description": "百度高性价比长上下文模型128K 窗口,适合日常对话和文档处理",
"contextWindow": 131072, "contextWindow": 131072,

View File

@@ -1,7 +1,7 @@
{ {
"id": "provider-perplexity-001", "id": "provider-perplexity-001",
"provider": "perplexity", "provider": "perplexity",
"label": "Perplexity", "label": "Perplexity AI",
"baseUrl": "https://api.perplexity.ai", "baseUrl": "https://api.perplexity.ai",
"apiFormat": "openai-completions", "apiFormat": "openai-completions",
"apiKeyRef": "perplexity", "apiKeyRef": "perplexity",

View File

@@ -1,7 +1,7 @@
{ {
"id": "provider-xai-001", "id": "provider-xai-001",
"provider": "xai", "provider": "xai",
"label": "xAI Grok", "label": "xAI",
"baseUrl": "https://api.x.ai/v1", "baseUrl": "https://api.x.ai/v1",
"apiFormat": "openai-completions", "apiFormat": "openai-completions",
"apiKeyRef": "xai", "apiKeyRef": "xai",

View File

@@ -1,7 +1,7 @@
{ {
"id": "provider-xunfei-001", "id": "provider-xunfei-001",
"provider": "xunfei", "provider": "xunfei",
"label": "科大讯飞", "label": "讯飞星火",
"baseUrl": "https://spark-api-open.xf-yun.com/v1", "baseUrl": "https://spark-api-open.xf-yun.com/v1",
"apiFormat": "openai-completions", "apiFormat": "openai-completions",
"apiKeyRef": "xunfei", "apiKeyRef": "xunfei",