Skip to content

Add GLM-5.2 harness support#82

Merged
byapparov merged 1 commit into
mainfrom
feat/glm-5-2-harness
Jun 16, 2026
Merged

Add GLM-5.2 harness support#82
byapparov merged 1 commit into
mainfrom
feat/glm-5-2-harness

Conversation

@byapparov

Copy link
Copy Markdown
Contributor

Summary

Add GLM-5.2 support for the Z.AI Coding Plan harness, including fallback model metadata, effort mapping, and request payload coverage.

Issues addressed

  • Adds zai-coding-plan/glm-5.2 metadata for stale local model snapshots.
  • Maps GLM-5.2 variants to supported Z.AI efforts: low|medium|high -> high, xhigh|max -> max.
  • Verifies Coding Plan stream payload sends preserved thinking and reasoning_effort: max.

Verified false

  • None.

Not addressed

  • Does not regenerate the ignored local models-snapshot.ts; runtime fallback handles stale snapshots and the live models.dev entry is already present.

Test plan

  • bun test test/provider/transform.test.ts --timeout 30000
  • bun test test/session/llm.test.ts --timeout 30000
  • bun test test/provider/provider.test.ts --timeout 30000
  • bun run typecheck
  • git diff --check
  • pre-push bun turbo typecheck

@byapparov byapparov self-assigned this Jun 16, 2026
@aictrl-dev

aictrl-dev Bot commented Jun 16, 2026

Copy link
Copy Markdown

I have enough to finalize the review. Let me confirm the overwriting loop context once more, then record.

@byapparov byapparov merged commit 54a21b7 into main Jun 16, 2026
5 checks passed
@byapparov byapparov mentioned this pull request Jun 16, 2026
3 tasks
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