Skip to content

fix(models): split GLM 5.2 context presets#3137

Open
sarahwooders wants to merge 2 commits into
mainfrom
letta/fix-glm-context-config-22c99fd1
Open

fix(models): split GLM 5.2 context presets#3137
sarahwooders wants to merge 2 commits into
mainfrom
letta/fix-glm-context-config-22c99fd1

Conversation

@sarahwooders

Copy link
Copy Markdown
Contributor

Makes the default zai/glm-5.2 preset use the observed 200K-class limit and adds an explicit zai/glm-5.2[1m] preset for opt-in long context. This avoids suppressing compaction for the default direct GLM path while keeping the 1M variant available.

Validated with:

  • bun run check

Make the default GLM-5.2 preset use the observed 200K-class limit and add an explicit 1M preset so long context remains opt-in.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <[email protected]>

See [trace](https://app.letta.com/chat/agent-4140c4b5-f32e-475c-9573-bcfd9446ca7b?conversation=conv-c40c855b-85f3-42bd-a370-7a8252bf6b5b). Resume conversation with `letta --conv conv-c40c855b-85f3-42bd-a370-7a8252bf6b5b`
Comment thread src/models.json Outdated
Keep both GLM-5.2 presets tied to the API-backed model handle and distinguish the long-context option only through its preset id and context_window override.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <[email protected]>

See [trace](https://app.letta.com/chat/agent-4140c4b5-f32e-475c-9573-bcfd9446ca7b?conversation=conv-c40c855b-85f3-42bd-a370-7a8252bf6b5b). Resume conversation with `letta --conv conv-c40c855b-85f3-42bd-a370-7a8252bf6b5b`
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.

4 participants