Repository navigation
Bind dashscope-cn DeepSeek rows from the third-party suppliers the compat page names - #790
Conversation
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
* Keep a host's own-namespace rows out of name inference (#746)
…dpoint-for-providers-with-no-schemaendpoint # Conflicts: # src/server/providers/model-facts.ts
Binds 12 more dashscope-cn chat rows from the provider's own docs. No probe is added: we still hold no key for any provider in #716. Part of #716 (not
--fixes: 34 rows remain, listed below).What changed
The Beijing compat page's supported-models line names third-party suppliers per family:
parseDashscopeCnCompatdropped those notes, sosiliconflow/deepseek-*(4) andvanchin/deepseek-*(8) never matched theDeepSeekfamily (#733 listed them under "Not covered"). The parser now keeps the families that have a supplier other than 阿里云直供 (scope.thirdParty), anddashscopeCompatCoversmatches asupplier/modelid against those.ZHIPU/GLM-*stays unbound: the line gives GLM as 阿里云直供 only.DOCS_CACHE_VERSIONv53 → v54, so the cached scope is re-parsed at once.dashscopeCompatCovers; its scope has nothirdParty, so nothing changes there.ponytail:in the code): any namespace counts once the family has a third-party supplier. The page names suppliers in Chinese, not as listing namespaces, so the namespace itself is not checked.Where #716 stands (gap report, 2026-12-04)
endpointmessagessurface. Lovable's docs state no path for it, and we hold noLOVABLE_API_KEY.dashscope-cn rows still unbound after this PR (28):
ZHIPU/GLM-*(6),stepfun/*(3),xiaomi/*(2),antdigital/*,unisound/*,Xing/*,tongyi-xiaomi-analysis-*(2).A probe could settle those 16 and lovable's 6. The compat page even gives the refusal wording (
current user api does not support http call, a 400), so it would fit the expected-400 rule. It needs a Beijing-region key plus workspace id, and a Lovable key. OurDASHSCOPE_API_KEYis the Singapore key.No row here is
probe-verified, so theverifiedAtacceptance item does not apply: these aredocs-derived.Verification
pnpm run test(265 files, 2759 tests),typecheck,lintandcheckpass. On the committed fixture, bound chat rows go from 159 to 171. No live provider request was sent beyond reading the public docs page and the keyless Lovable listing.Summary by CodeRabbit