You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Respect user set default_mode and improve agent management
- The default_mode option was not being respected when setting the
state current_mode. The current_mode is now set when first opening the
opencode window.
- The mode switching is now wrapped in a "switch_to_mode" function to
ensure the mode exists in the available agents for more control.
- The build and plan agents were added to the available agents even if
explicitly disabled in the opencode config -> leading to a hang when
sending messages to opencode. They are now prepended if they are not
disabled.
- The agent list was always randomly returned, it is now sorted before
using it.
0 commit comments