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 — fix(opencode): Subtasks and task calls don’t inherit selected thinking level by dbpolito · Pull Request #20742 · anomalyco/opencode Conversation
|
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one potentially related PR: Related PR Found:
However, PR #12567 appears to be a past feature implementation, while PR #20742 is a bug fix addressing the issue that subtasks and task calls are still not properly inheriting the selected thinking level. The current PR is likely fixing a regression or incomplete implementation of the variant inheritance mechanism. |
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.
- use MessageV2.filterCompactedEffect in the subtask variant inheritance test - keep the test aligned with the compacted message helper API
- source subtask variants from the last user message instead of task payloads - remove the unused subtask variant field from the session schema - regenerate SDK and OpenAPI artifacts to match the updated API shape
- remove task tool variant overrides from the prompt payload and schema - ensure subtask sessions always use the parent message variant - update prompt and task tests to assert inherited variant metadata
- align the prompt-effect test input type with the task tool schema - keep the inherited-variant assertion while removing the stale variant-only shape
- pass the selected variant into command-created subtasks - cover variant inheritance in task tool execution - verify assistant task metadata keeps the inherited variant
- include the optional variant field in the task mock metadata - keep pre-push typechecking green for the new variant tests
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This PR was closed by automated cleanup due to insufficient reactions, but the bug it fixes is still present in v1.15.13. I confirmed the same root cause via binary analysis and session database queries: the Task tool drops variant and agent options when calling SessionPrompt.prompt(). Every sub-agent session in my local database records Related evidence posted on #21632: #21632 (comment) Any chance this can be reopened? The fix looked solid and had test coverage. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Subtasks and task calls don’t inherit selected thinking level
There was an error while loading. Please reload this page.