Skip to content

fix(core): restore v2 model prompts - #34275

Merged
rekram1-node merged 4 commits into
v2from
v2-prompts
Jun 28, 2026
Merged

rekram1-node merged 4 commits into
v2from
v2-prompts

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • copy the legacy provider/model-specific system prompts into core for native V2 runner use
  • select the provider-family baseline when the effective agent does not provide a system override
  • keep built-in build agent from shadowing model-specific prompts and update the V2 parity checklist

Tests

  • bun test test/session-runner-system-prompt.test.ts test/agent.test.ts test/session-runner.test.ts (packages/core)
  • bun typecheck (packages/core)
  • pre-push bun turbo typecheck

rekram1-node and others added 4 commits June 28, 2026 18:12
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
@opencode-agent
opencode-agent Bot marked this pull request as ready for review June 28, 2026 18:19
@rekram1-node
rekram1-node merged commit 6067019 into v2 Jun 28, 2026
6 checks passed
@rekram1-node
rekram1-node deleted the v2-prompts branch June 28, 2026 19:47
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant