feat: support manual model input and sync provider catalogs

- Allow manual model name input when adding custom providers (NSelect tag mode)
- Sync provider model catalogs with Hermes _PROVIDER_MODELS
- Add new providers: kimi-coding-cn, moonshot, arcee
- Fix provider key naming to match Hermes (kilo→kilocode, vercel→ai-gateway, etc.)
- Ensure custom_providers from config.yaml always appear in available-models
- Append configured default model to model list if not in catalog
- Fix provider deletion with case-insensitive key matching
- Add selectOrInput i18n key to all 8 locales

Closes #24

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ekko
2026-04-17 22:05:06 +08:00
parent ca3fea4d0e
commit 26bb821e29
12 changed files with 187 additions and 50 deletions
@@ -214,7 +214,8 @@ function handleClose() {
v-model:value="formData.model"
:options="modelOptions"
filterable
:placeholder="t('models.selectModel')"
tag
:placeholder="t('models.selectOrInput')"
style="flex: 1"
/>
<NButton