feat: 新增统一模型网关与模型管理工作区

- 新增 OpenAI 兼容统一模型调用链路、模型发布配置与批量发布能力

- 重构模型管理页面入口与统一网关工作区,更新服务商 logo 资源与模型 ID 文案

- 收口全新库初始化脚本,仅保留服务商种子并整理统一网关 migration
This commit is contained in:
2026-03-26 20:48:18 +08:00
parent b777cb3641
commit aaf4c61ff8
80 changed files with 4786 additions and 362 deletions

View File

@@ -1,45 +1,43 @@
{
"filed":
{
"id": "Id",
"deptId": "DeptId",
"tenantId": "TenantId",
"title": "Title",
"brand": "Brand",
"icon": "Icon",
"description": "Description",
"supportChat": "SupportChat",
"supportFunctionCalling": "SupportFunctionCalling",
"supportEmbed": "SupportEmbed",
"supportReranker": "SupportReranker",
"supportTextToImage": "SupportTextToImage",
"supportImageToImage": "SupportImageToImage",
"supportTextToAudio": "SupportTextToAudio",
"supportAudioToAudio": "SupportAudioToAudio",
"supportTextToVideo": "SupportTextToVideo",
"supportImageToVideo": "SupportImageToVideo",
"multimodal": "multimodal",
"llmEndpoint": "LlmEndpoint",
"chatPath": "ChatPath",
"embedPath": "embedPath",
"llmModel": "LlmModel",
"llmApiKey": "apiKey",
"llmExtraConfig": "LlmExtraConfig",
"options": "Options",
"ability": "Ability"
}
,
"filed": {
"id": "Id",
"deptId": "DeptId",
"tenantId": "TenantId",
"title": "Title",
"brand": "Brand",
"icon": "Icon",
"description": "Description",
"supportChat": "SupportChat",
"supportFunctionCalling": "SupportFunctionCalling",
"supportEmbed": "SupportEmbed",
"supportReranker": "SupportReranker",
"supportTextToImage": "SupportTextToImage",
"supportImageToImage": "SupportImageToImage",
"supportTextToAudio": "SupportTextToAudio",
"supportAudioToAudio": "SupportAudioToAudio",
"supportTextToVideo": "SupportTextToVideo",
"supportImageToVideo": "SupportImageToVideo",
"multimodal": "multimodal",
"llmEndpoint": "LlmEndpoint",
"chatPath": "ChatPath",
"embedPath": "embedPath",
"llmModel": "Model ID",
"llmApiKey": "apiKey",
"llmExtraConfig": "LlmExtraConfig",
"options": "Options",
"ability": "Ability"
},
"llmModal": {
"TitleRequired": "Please enter the name",
"BrandRequired": "Please enter the brand",
"ModelRequired": "Please enter the model",
"ModelRequired": "Please enter the model ID",
"ApiKeyRequired": "Please enter the apiKey",
"QuickAddLlm": "One-click addition of large models"
},
"placeholder": {
"title": "Please enter the title",
"brand": "Please enter the brand",
"llmModel": "Please enter the llmModel",
"llmModel": "Please enter the model ID",
"description": "Please enter the description"
},
"actions": {
@@ -50,7 +48,7 @@
},
"addProvider": "Add Provider",
"modelType": "ModelType",
"llmModel": "ModelName",
"llmModel": "Model ID",
"title": "name",
"groupName": "GroupName",
"provider": "供应商",

View File

@@ -2,7 +2,7 @@
"title": "Large Model Configuration",
"modelOfChat": "Chat Model Provider",
"dialogModel": "Chat Model Settings",
"modelName": "Model Name",
"modelName": "Model ID",
"basic": "BasicInformation",
"updatePwd": "UpdatePassword"
}

View File

@@ -1,9 +1,8 @@
{
"filed":
{
"filed": {
"title": "标题",
"brand": "供应商",
"llmModel": "模型名称",
"llmModel": "模型 ID",
"icon": "ICON",
"description": "描述",
"supportChat": "对话模型",
@@ -24,19 +23,18 @@
"llmExtraConfig": "大模型其他属性配置",
"options": "其他配置内容",
"ability": "能力"
}
,
},
"llmModal": {
"TitleRequired": "请输入名称",
"BrandRequired": "请选择供应商",
"ModelRequired": "请输入模型",
"ModelRequired": "请输入模型 ID",
"ApiKeyRequired": "请输入apiKey",
"QuickAddLlm": "一键添加大模型"
},
"placeholder": {
"title": "请输入名称",
"brand": "请选择品牌",
"llmModel": "请输入模型名称",
"llmModel": "请输入模型 ID",
"description": "请输入描述"
},
"actions": {
@@ -47,7 +45,7 @@
},
"addProvider": "添加供应商",
"modelType": "模型类型",
"llmModel": "模型名称",
"llmModel": "模型 ID",
"title": "名称",
"groupName": "分组名称",
"provider": "供应商",

View File

@@ -1,8 +1,8 @@
{
"title": "大模型配置",
"modelOfChat": "对话模型供应商",
"dialogModel" : "对话模型配置",
"modelName": "模型名称",
"dialogModel": "对话模型配置",
"modelName": "模型 ID",
"basic": "基本设置",
"updatePwd": "修改密码"
}