GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — feat(opencode): add task model override by kobicovaldev · Pull Request #29447 · anomalyco/opencode Conversation
|
|
The following comment was made by an LLM, it may be inaccurate: Potential Duplicate Found#26535 - feat(opencode): add model parameter to task tool for subagent model override
This is intentional, not a conflict—#29447 is the forward port to replace #26535. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@kobicovaldev you are awesome! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…erride-port # Conflicts: # packages/core/src/v1/config/permission.ts # packages/opencode/src/tool/task.ts # packages/opencode/test/tool/task.test.ts
…erride-port # Conflicts: # packages/opencode/test/tool/task.test.ts
|
Refreshed this PR against latest |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Friendly bump for maintainer review when someone has bandwidth. This PR has been refreshed onto latest |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hey @kobicovaldev , what is the merge plan for this PR, when can we expect this change to be in dev ? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for the interest @Sufyan31. I’m the PR author, but I don’t have merge permissions on this repo, so this is waiting on maintainer review/merge. The PR is currently mergeable, checks are passing, and |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for carrying this forward. A strong +1 from a multi-model independent sampling / review convergence use case: the important part for us is being able to have one orchestrator delegate the same role/prompt to different models in the same run, then compare agreement/disagreement and converge on the result. That is useful for review-consensus and second-opinion loops, and it breaks down if we have to duplicate agent definitions per model. We want agents to stay role-centric, with the caller choosing the model per invocation when needed. So this feels directly aligned with #17595 and #29984, and it would also help unblock downstream review flows like #30289. Not asking for a separate fallback mechanism here — just first-class runtime model selection for Task/subagent calls. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closing this PR as superseded by #34947, which carries the permission-gated Task model override forward and is now the active implementation. Please follow #34947 for review and landing progress. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Add an optional `model` parameter to the task tool (provider/model format) that overrides the subagent's model, gated behind a new `model_override` permission that defaults to deny. Selection precedence is the `model` parameter, then the subagent's configured model, then the parent assistant message model. Ported from anomalyco#29447 (adapted for the Effect layer). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Add an experimental subagent-interrupt capability (behind OPENCODE_EXPERIMENTAL_SUBAGENT_INTERRUPT): an Interrupt service with pending/terminal state, task_steer/task_cancel/task_abort tools (gated by a new `interrupt` permission), a POST /session/:id/interrupt endpoint, and a turn-boundary consume in the prompt loop that injects an escaped steer/cancel frame plus a visible transcript marker. Cancel records a terminal reason and force-breaks after a grace window; abort writes a marker, records the terminal, and cancels the BackgroundJob immediately. The TUI gains an esc-with-reason flow, footer button, and distinct interrupt markers. Ported from anomalyco#32425 (adapted for the Effect layer; merged with the prior task.ts/registry.ts/prompt.ts changes from anomalyco#29447/anomalyco#32122/anomalyco#12520/anomalyco#32192/anomalyco#19961). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[FEATURE]: Runtime model override for task tool subagents
There was an error while loading. Please reload this page.