Conversation
0726d31 to
24d1640
Compare
Add missing onboarding copy for bigmodel across UI locales, refresh stale Z.AI translations after the English URL rewrite, and bump the reserved-prefix freeze now that bigmodel is in the registry. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
Preserve BigModel.cn next to SeekAi, align live catalog counts (APIKEY 239, reserved prefixes 409, providers 357), and fill i18n keys dropped by the JSON merge. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
Preserve BigModel.cn next to SeekAi and diegosouzapw#12669's eligibility-gated free-tier catalog (~1.47B / 52 free-forever). Live unique counts stay APIKEY 239, reserved prefixes 409, providers 357, with BigModel-specific asserts. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
|
The bigmodel/glm-cn/zai separation is correct and well-tested — 6/6 provider tests pass |
Merge origin/release/v3.8.51 (997cd4d, +307 commits since the branch's prior sync point) to resolve the real conflicts against the 09-14 KooshaPari i18n batch and later provider additions. All conflicts were mechanical provider-count text (356/357 -> 359, accounting for the GreenPT/EURouter/Arcee AI additions already on the tip plus this PR's BigModel.cn) across AGENTS.md, README.md, llm.txt + 46 docs/i18n/*/llm.txt mirrors, package.json, docs/diagrams/*.svg, public/images/tier-flow-*.svg and docs/reference/PROVIDER_REFERENCE.md (regenerated via `bun scripts/docs/gen-provider-reference.ts`). Also resynced the 24 docs/i18n/*/llm.txt mirrors the PR never touched (untouched by the merge so still carrying the pre-merge provider count) to the merged root body, which check-docs-sync.mjs requires byte-identical. The two provider-count regression tests (RESERVED_PREFIX_COUNT, APIKEY_PROVIDER_COUNT) were updated to the merged totals (413 / 241) and pass. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
…51 merge The prior merge commit's 3-way auto-merge silently dropped several non-conflicting hunks from origin/release/v3.8.51 (997cd4d) even though this branch had no competing change in those regions (ours == merge-base for every affected file) — most visibly the diegosouzapw#13747 base-reds fixups (call-log traceId keying, Jina custom-row provider prefix, CI workflow, gitleaks config, stryker config, i18n retranslate work) and, in src/i18n/messages/*.json, a set of duplicated keys where an older Arabic/etc. translation and a newer untranslated English value for the same key both survived (JSON.parse silently keeps the last one, masking the duplication) plus 6 missing settings/featureFlags keys across 39 locales. Fixed by: - Restoring the 19 unrelated files (CI/gitleaks/stryker config, i18n tooling, and the traceId/Jina/paid-target/retranslate test files) to their exact origin/release/v3.8.51 content — this PR never touches any of them. - Rebuilding all 42 src/i18n/messages/*.json files this PR legitimately touches from the clean tip content plus exactly this PR's own two-line diff per locale (add the "bigmodel" onboarding hint, fix the "zai" one) taken from jackjinke's original commit 04707b5, verified duplicate-key- free and with zero keys missing relative to the pinned tip (997cd4d). Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
…3782 (2 commits, cde49c9) The branch moved twice more while this PR was being reconciled. Merge the remaining 2 commits from origin/release/v3.8.51: diegosouzapw#13747 (base-reds cleanup, already reflected by the previous commit) and diegosouzapw#13782 (retranslate every verbatim-English leaf across all 65 locale catalogs). Resolved the resulting real conflicts in es.json and uk-UA.json by keeping the tip's newly retranslated onboardingProviderDescriptions content and re-applying this PR's own bigmodel/zai lines (already translated by jackjinke) on top. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
…esolve dirty PR diegosouzapw#12343 Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
|
Re-homed to |
Summary
bigmodelas the mainland China BigModel.cn / 智谱开放平台 provider, using the publicbigmodel/model prefix and the documented OpenAI-compatiblehttps://open.bigmodel.cn/api/paas/v4/chat/completionsendpoint with Bearer authentication.bigmodelis the mainland model API, existingzairemains the international Z.AI surface, and the existingglm/glm-cnproviders remain the distinct GLM Coding services. Their hosts, credentials, and protocol paths are intentionally not merged.glm-5.3-flashcatalog entry, correct the Z.AI website and API-key links, add Simplified/Traditional Chinese onboarding copy, reuse the existing Zhipu icon, and regenerate provider references/count mirrors.Official references:
Related Issues
Validation
npm run lint— repository-wide lint is currently blocked by three pre-existing unused-variable errors intests/unit/stream-passthrough-usage-estimation.test.ts; ESLint passes for every changed TypeScript/TSX file.release/v3.8.51tip; focused checks rerun afterwardCommands run:
npm run check:provider-consistencynpm run check:provider-assetsnode --import tsx/esm --import ./open-sse/utils/setupPolyfill.ts --import ./tests/_setup/isolateDataDir.ts --test tests/unit/bigmodel-provider.test.ts tests/unit/providers-constants-split.test.ts tests/unit/provider-translate-path-golden.test.tsnpx vitest run --config vitest.config.ts tests/unit/ui/ProviderIcon-icon-url.test.tsxnpm run i18n:sync-ui:drynpm run i18n:check-ui-coveragenpm run i18n:check-value-drift(skipped by the repository checker because the base was unresolved)npm run i18n:check-glossarynpm run check:docs-allnpm run check:changelog-integritynpm run linttests/unit/cli-serve-stop-command.test.ts智谱开放平台copy, and corrected Z.AI linkTests Added Or Updated
tests/unit/bigmodel-provider.test.tstests/unit/providers-constants-split.test.tstests/unit/ui/ProviderIcon-icon-url.test.tsxtests/snapshots/provider/translate-path.jsonCoverage Notes
/v1segment), OpenAI format, Bearer header, thebigmodel/routing prefix,glm-5.3-flash, catalog metadata, Z.AI separation, and Chinese onboarding copy.bigmodelresolving to/providers/zhipu.svg.reasoning-probe-truncated-response-10281,reasoning-token-buffer-6274,settings-i18n-keys, andstream-utils.tests/unit/cli-serve-stop-command.test.tscan call the real no-PID stop fallback and SIGTERM/SIGKILL a listener on port 20128. The port-safe manifest excluded that entire file and did not run E2E/integration suites.Reviewer Notes
/api/paas/v4/chat/completionsURL directly; the default executor does not append/v1. Its public routing prefix isbigmodel/.changelog.d/features/12343-bigmodel-zhipu-provider.md.