Skip to content

fix: apply the context budget through the model transform - #6

Open
jadmadi wants to merge 1 commit into
mainfrom
fix/context-budget-model-transform
Open

jadmadi wants to merge 1 commit into
mainfrom
fix/context-budget-model-transform

Conversation

@jadmadi

@jadmadi jadmadi commented Sep 18, 2026

Copy link
Copy Markdown
Owner

This PR fixes context-limit on OpenCode 2.0.7, which removed the catalog domain from the plugin context. The budget registers through ctx.model.transform, reloads with ctx.model.reload(), and reads windows through ctx.model.list(). The tests, the spec, the README, and the API notes follow.

OpenCode 2.0.7 removed the catalog domain. Register the budget through ctx.model.transform, reload with ctx.model.reload(), and read windows through ctx.model.list(). The tests, spec, README, and API notes follow the same move.
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