Skip to content

[codex] Add GLM-5.2 model support#7

Merged
pingp76 merged 1 commit into
mainfrom
codex/glm-5-2-support
Jun 26, 2026
Merged

[codex] Add GLM-5.2 model support#7
pingp76 merged 1 commit into
mainfrom
codex/glm-5-2-support

Conversation

@pingp76

@pingp76 pingp76 commented Jun 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a zhipuai_cn provider profile with GLM-5.2 defaults and ZhipuAI/BigModel key env support.
  • Add a conservative glm-5.2 foundation model profile with long-context runtime policy defaults.
  • Cover provider resolution, model profile matching, and runtime policy derivation in tests.
  • Update doc/summary.md to reflect the new provider/profile and test counts.

Validation

  • npm run typecheck
  • npx vitest run src/llm-providers.test.ts src/foundation-models.test.ts src/runtime-policy.test.ts
  • npx eslint src/llm-providers.ts src/foundation-models.ts src/llm-providers.test.ts src/foundation-models.test.ts src/runtime-policy.test.ts
  • npm test
  • git diff --check
  • npx prettier --check src/llm-providers.ts src/foundation-models.ts src/llm-providers.test.ts src/foundation-models.test.ts src/runtime-policy.test.ts doc/summary.md

@pingp76 pingp76 marked this pull request as ready for review June 26, 2026 07:45
@pingp76 pingp76 merged commit 5a7d2d9 into main Jun 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant