feat(providers): modernize CLOVA Studio chat and embeddings (#12277)

Validado em lote numa worktree combinada com #12524, #12538, #12277 e #12367 sobre o tip de release/v3.8.51: os quatro boardaram sem conflito (áreas disjuntas — zai-web, nvidia, clova, cursor/devin/fable). typecheck:core limpo, check:provider-consistency OK (272 entradas REGISTRY, 355 providers canônicos), check:known-symbols OK, e 305/305 nos testes tocados pelos quatro PRs. Os IDs de modelo adicionados foram conferidos individualmente. Obrigado, @backryun.
This commit is contained in:
backryun
2026-09-03 19:50:22 +09:00
committed by GitHub
parent cdd07df700
commit 82c64d76d3
17 changed files with 2638 additions and 556 deletions

View File

@@ -494,7 +494,7 @@ export const APIKEY_PROVIDERS_REGIONAL = {
textIcon: "CS",
website: "https://api.ncloud-docs.com/docs/en/ai-naver-clovastudio-summary",
apiHint:
"CLOVA Studio (HyperCLOVA X) is OpenAI-compatible on /v1/openai. OmniRoute probes /v1/openai/models and routes chat traffic to /v1/openai/chat/completions. Uses the current clovastudio.stream.ntruss.com host — the legacy clovastudio.apigw.ntruss.com endpoint is being deprecated.",
"OmniRoute routes chat traffic to the native Chat Completions v3 API (/v3/chat-completions/{model}), not the OpenAI-compatibility shim. All three v3 models are served: HCX-007 (reasoning, text only), HCX-005 (vision — accepts both public image URLs and inline base64 images), and HCX-DASH-002 (lightweight, text only). Requests stream upstream and are accumulated into a JSON body when the client asks for a non-streaming response.",
},
internlm: {
id: "internlm",

View File

@@ -57,6 +57,11 @@ export const VISION_MODEL_ID_FRAGMENTS = [
"mistral-medium-3",
"minimax-m3",
"kimi-k2.",
// Naver CLOVA Studio: HCX-005 is the only v3 model with image input. Listed by
// exact id (not a family fragment) to stay conservative — live-verified on
// 2026-09-01 that it answers image prompts over both a public URL and a
// base64 data URI, while HCX-007 and HCX-DASH-002 reject images.
"hcx-005",
"-vision",
"multimodal",
] as const;