Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rekram1-node
Copy link
Collaborator

@rekram1-node rekram1-node commented Dec 29, 2025

closes: #2875

@diffray-bot

This comment was marked as spam.

@diffray-bot

This comment was marked as spam.

@rekram1-node rekram1-node changed the title thinking toggle feat: add variants toggle Dec 29, 2025
@rekram1-node
Copy link
Collaborator Author

/review

@rekram1-node
Copy link
Collaborator Author

/review

@github-actions
Copy link
Contributor

lgtm

@rekram1-node rekram1-node merged commit ed0c0d9 into dev Dec 30, 2025
1 check passed
@rekram1-node rekram1-node deleted the snapshot-thinking-toggle branch December 30, 2025 03:43
vtemian added a commit to vtemian/opencode that referenced this pull request Dec 31, 2025
When a command runs with a subagent (e.g., /init with project-initializer),
the TUI tried to set the current agent to it, which failed because
local.agent.list() only includes primary agents (mode !== 'subagent').

This caused an erroneous 'Agent not found' toast even though the subagent
session was created and running correctly in the backend.

The fix checks if the agent exists in the primary agents list before
attempting to set it.

Regression introduced in ed0c0d9 (feat: add variants toggle sst#6325)
vtemian added a commit to vtemian/opencode that referenced this pull request Dec 31, 2025
When a command runs with a subagent (e.g., /init with project-initializer),
the TUI tried to set the current agent to it, which failed because
local.agent.list() only includes primary agents (mode !== 'subagent').

This caused an erroneous 'Agent not found' toast even though the subagent
session was created and running correctly in the backend.

The fix checks if the agent exists in the primary agents list before
attempting to set it.

Regression introduced in ed0c0d9 (feat: add variants toggle sst#6325)
hk9890 pushed a commit to hk9890/opencode that referenced this pull request Jan 1, 2026
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.

Have an ability to turn on / off thinking mode

4 participants