Repository navigation
feat(providers): add experimental Huawei Cloud CodeArts (码道) adapter - #436
Conversation
|
The previous head failed the frontend check because the embedded assets were generated locally with Vite 8.3.5 while \rontend/package-lock.json\ pins 8.2.2. \�c97b3b\ regenerates \internal/webui/static\ with a clean Linux |
# Conflicts: # internal/webui/static/assets/AreaChart-OALiCBPp.js # internal/webui/static/assets/CartesianChart-VdPlNA-v.js # internal/webui/static/assets/CostChart-Pl_W6MDd.js # internal/webui/static/assets/LiveSparkline-DiMX1dL0.js # internal/webui/static/assets/TrafficChart-Dr6Iq6yR.js # internal/webui/static/assets/XAxis-CA8kJY2M.js # internal/webui/static/assets/index-BbhKWyTC.js # internal/webui/static/index.html
|
感谢提交码道适配器。进程内实现、凭据刷新,以及原生 model id 和展示名分开处理,这些都没问题,CI 也是绿的。现有账号不会受影响。 合并前有几处控制面的小缺口,都不影响其它供应商:
另外两处顺手即可: 额度耗尽切换还没实测,作为实验性供应商可以接受。上面三条补上之后就可以合。 |
|
已按 review 补齐,当前 head
顺手项也处理了:
CI 六项全绿(go / windows-host / worker / frontend / container / secrets)。额度耗尽切换仍如你所说,保持实验性未实测。可以继续看是否还有需要补的。 |
Summary
Add an experimental Huawei Cloud CodeArts Agent (码道) provider.
snap-access.cn-north-4.myhuaweicloud.com.model_idis kept separate from displaymodel_name.supports_imagesfrom the builtin catalog); text-only models reject images with 400./v1/model/thinking-variants; the selectedmaxlevel is forwarded asreasoning_effortinstead of being dropped to the upstream default.provider=codearts, regioncn-north-4; console login and model settings updated.Live acceptance
Single account:
{high, max}exposed for GLM-5.2; console selectionmaxpersists asreasoning_effort=maxand the chat request succeeds.Two accounts:
Validation
go test ./...green on Linux (golang:1.25 container).go vet,gofmt,git diff --check, changelog validation.npm run lintandnpm run syncwith the locked frontend toolchain.Known limitations
Experimental provider; not claiming full production acceptance.