feat(settings): add model provider management with full CRUD support
Add a new settings page for managing API model providers (name, API URL, API key, applicable agent types). Includes database migration, SeaORM entity, backend CRUD commands/handlers, frontend settings UI with agent type filter, add/edit/delete dialogs, and i18n support for all 10 locales. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -93,7 +93,8 @@
|
||||
"version_control": "버전 관리",
|
||||
"system": "시스템",
|
||||
"chat_channels": "채팅 채널",
|
||||
"web_service": "웹 서비스"
|
||||
"web_service": "웹 서비스",
|
||||
"model_providers": "모델 제공업체"
|
||||
}
|
||||
},
|
||||
"AppearanceSettings": {
|
||||
@@ -1808,5 +1809,37 @@
|
||||
"pt": "포르투갈어",
|
||||
"ar": "아랍어"
|
||||
}
|
||||
},
|
||||
"ModelProviderSettings": {
|
||||
"sectionTitle": "모델 제공업체",
|
||||
"sectionDescription": "에이전트의 API 제공업체 자격 증명을 관리합니다.",
|
||||
"filterAll": "전체",
|
||||
"providerListTitle": "구성된 제공업체",
|
||||
"addProvider": "제공업체 추가",
|
||||
"editProvider": "제공업체 편집",
|
||||
"noProviders": "아직 구성된 모델 제공업체가 없습니다.",
|
||||
"providerName": "이름",
|
||||
"providerNamePlaceholder": "예: OpenAI, Anthropic",
|
||||
"apiUrl": "API URL",
|
||||
"apiUrlPlaceholder": "https://api.openai.com/v1",
|
||||
"apiKey": "API 키",
|
||||
"apiKeyPlaceholder": "sk-...",
|
||||
"apiKeyKeepCurrent": "현재 값을 유지하려면 비워두세요",
|
||||
"agentTypes": "에이전트 유형",
|
||||
"agentTypesRequired": "최소 하나의 에이전트 유형을 선택하세요.",
|
||||
"nameRequired": "제공업체 이름은 필수입니다.",
|
||||
"apiUrlRequired": "API URL은 필수입니다.",
|
||||
"apiKeyRequired": "API 키는 필수입니다.",
|
||||
"loadFailed": "제공업체를 불러오지 못했습니다.",
|
||||
"saveFailed": "변경 사항을 저장하지 못했습니다.",
|
||||
"createSuccess": "제공업체가 생성되었습니다.",
|
||||
"editSuccess": "제공업체가 업데이트되었습니다.",
|
||||
"deleteSuccess": "제공업체가 삭제되었습니다.",
|
||||
"deleteConfirmTitle": "제공업체 삭제",
|
||||
"deleteConfirmMessage": "제공업체 \"{name}\"을(를) 영구적으로 삭제하시겠습니까?",
|
||||
"cancel": "취소",
|
||||
"delete": "삭제",
|
||||
"create": "생성",
|
||||
"save": "저장"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user