[PR #3440] opentui: port flags (-m, -a) #10645

Closed
opened 2026-02-16 18:15:22 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/3440

State: closed
Merged: No


Prolly gonna rebase and resolve conflicts that are likely to arise with the opentui branch.

  • Side effect: Added validation of model, which prevents a crash when you select an agent with a nonexistent model

(still need to test thoroughly)

Test matrix:

  • bun dev
  • bun dev --agent existing
  • bun dev --agent nonexistent # warning toast
  • bun dev --agent existing-with-wrong-model # warning toast
  • bun dev --model existing
  • bun dev --model existing --agent existing
  • bun dev --model existing --agent nonexistent # warning toast
  • bun dev --model existing --agent existing-with-wrong-model # warning toast
  • bun dev --model nonexistent # warning toast
  • bun dev --model nonexistent --agent existing # warning toast
  • bun dev --model nonexistent --agent nonexistent # warning toast
  • bun dev --model nonexistent --agent existing-with-wrong-model # warning toast
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/3440 **State:** closed **Merged:** No --- Prolly gonna rebase and resolve conflicts that are likely to arise with the opentui branch. - Side effect: Added validation of model, which prevents a crash when you select an agent with a nonexistent model (still need to test thoroughly) Test matrix: - [x] `bun dev` - [x] `bun dev --agent existing` - [ ] `bun dev --agent nonexistent # warning toast` - [ ] `bun dev --agent existing-with-wrong-model # warning toast` - [ ] `bun dev --model existing` - [ ] `bun dev --model existing --agent existing` - [ ] `bun dev --model existing --agent nonexistent # warning toast` - [ ] `bun dev --model existing --agent existing-with-wrong-model # warning toast` - [ ] `bun dev --model nonexistent # warning toast` - [ ] `bun dev --model nonexistent --agent existing # warning toast` - [ ] `bun dev --model nonexistent --agent nonexistent # warning toast` - [ ] `bun dev --model nonexistent --agent existing-with-wrong-model # warning toast`
yindo added the pull-request label 2026-02-16 18:15:22 -05:00
yindo closed this issue 2026-02-16 18:15:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10645