Skip to content

Respect OpenCode Model/Mode defaults in workspace creation #623

@thisisryanswift

Description

@thisisryanswift

Paseo currently tends to resolve and send explicit model/mode values even when the user did not choose them. For OpenCode, that can override OpenCode’s own config/default behavior.

Distinguish user-selected values from inferred defaults, only send OpenCode model/mode overrides when the user explicitly selected them, and improve model selection so OpenCode runtime/config models are represented clearly.

Acceptance criteria:

  • OpenCode sessions use OpenCode config defaults when no explicit Paseo selection was made.
  • User-selected model/mode values are still sent correctly.
  • Suggested/default models are visible in the selector.
  • Runtime-discovered OpenCode models and configured/profile models can coexist.
  • Tests cover explicit vs implicit selection behavior.

I have a commit for this if you want me to open a PR.

Not sure which of these issues you'll see first, so putting the same apology for opening multiple here!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions