Skip to content

fix(tui): use active model for compaction - #41608

Open
opencode-agent[bot] wants to merge 1 commit into
v2from
compact-selection
Open

fix(tui): use active model for compaction#41608
opencode-agent[bot] wants to merge 1 commit into
v2from
compact-selection

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • synchronize the TUI’s active model and variant before admitting /compact
  • wait for any in-progress model selection to resolve first
  • cover model/variant switching order with a runtime regression test

Checks

  • bun test test/mini/runtime.test.ts (packages/tui)
  • bun typecheck (packages/tui)
  • bun x prettier --check packages/tui/src/mini/runtime.ts packages/tui/test/mini/runtime.test.ts

Requested by: @rekram1-node (Aiden Cline via Slack)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant