feat: 适配器 i18n + Provider 动态注册 + SetupView 重构 + jars 资源
- 适配器 i18n 接入(eslint/pmd/sql-lint/stylelint) - Provider 动态注册机制(registry.ts + providers.json + factory 重构) - SetupView 全面重构(setupView.ts 新增 600+ 行) - i18n 消息扩展(messages.ts +210 行) - 规则导入流程优化(import-service / prompt-builder) - 新增 PMD jars 依赖及测试用例
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"id": "deepseek",
|
||||
"name": "DeepSeek",
|
||||
"protocol": "openai-compatible",
|
||||
"defaultBaseUrl": "https://api.deepseek.com/v1",
|
||||
"models": ["deepseek-chat", "deepseek-reasoner"]
|
||||
},
|
||||
{
|
||||
"id": "openai",
|
||||
"name": "OpenAI",
|
||||
"protocol": "openai-compatible",
|
||||
"defaultBaseUrl": "https://api.openai.com/v1",
|
||||
"models": ["gpt-4o", "gpt-4o-mini", "gpt-4-turbo"]
|
||||
},
|
||||
{
|
||||
"id": "gemini",
|
||||
"name": "Google Gemini",
|
||||
"protocol": "gemini",
|
||||
"defaultBaseUrl": "https://generativelanguage.googleapis.com/v1",
|
||||
"models": ["gemini-2.0-flash", "gemini-1.5-pro"]
|
||||
},
|
||||
{
|
||||
"id": "claude",
|
||||
"name": "Anthropic Claude",
|
||||
"protocol": "claude",
|
||||
"defaultBaseUrl": "https://api.anthropic.com/v1",
|
||||
"models": ["claude-sonnet-4-20250514", "claude-opus-4-20250514"]
|
||||
},
|
||||
{
|
||||
"id": "hunyuan",
|
||||
"name": "腾讯混元",
|
||||
"protocol": "openai-compatible",
|
||||
"defaultBaseUrl": "https://api.hunyuan.cloud.tencent.com/v1",
|
||||
"models": ["hunyuan-pro"]
|
||||
},
|
||||
{
|
||||
"id": "zhipu",
|
||||
"name": "智谱AI",
|
||||
"protocol": "openai-compatible",
|
||||
"defaultBaseUrl": "https://open.bigmodel.cn/api/paas/v4",
|
||||
"models": ["glm-4-plus", "glm-4-flash"]
|
||||
},
|
||||
{
|
||||
"id": "moonshot",
|
||||
"name": "月之暗面",
|
||||
"protocol": "openai-compatible",
|
||||
"defaultBaseUrl": "https://api.moonshot.cn/v1",
|
||||
"models": ["moonshot-v1-8k", "moonshot-v1-32k"]
|
||||
},
|
||||
{
|
||||
"id": "tongyi",
|
||||
"name": "阿里通义",
|
||||
"protocol": "openai-compatible",
|
||||
"defaultBaseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
||||
"models": ["qwen-plus", "qwen-turbo"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user