Skip to content

fix(provider): widen interleaved reasoning fields - #39556

Merged
rekram1-node merged 2 commits into
devfrom
interleaved-fields-v1
Jul 30, 2026
Merged

fix(provider): widen interleaved reasoning fields#39556
rekram1-node merged 2 commits into
devfrom
interleaved-fields-v1

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • accept reasoning_text and arbitrary custom strings for interleaved reasoning fields
  • accept boolean or string values from models.dev while retaining the current object shape for compatibility
  • normalize string values into the internal { field } capability shape

Validation

  • bun test test/provider/provider.test.ts (99 pass)
  • GOMAXPROCS=2 bun typecheck in packages/core
  • packages/opencode typecheck exceeded the 10-minute host limit; the scoped provider suite passed

Pi currently checks reasoning_content, reasoning, and reasoning_text; these remain the suggested values while provider-specific strings are accepted.

Requested by: @rekram1-node (Aiden Cline via Slack)

@rekram1-node
rekram1-node merged commit a1ab489 into dev Jul 30, 2026
8 checks passed
@rekram1-node
rekram1-node deleted the interleaved-fields-v1 branch July 30, 2026 16:10
DevFlex-AI added a commit to bolt-builder/bolt-cli that referenced this pull request Jul 30, 2026
fix(provider): widen interleaved reasoning fields (anomalyco#39556)
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