Skip to content

fix(core): parse models.dev reasoning options - #34618

Merged
rekram1-node merged 1 commit into
v2from
models-reasoning
Jun 30, 2026
Merged

rekram1-node merged 1 commit into
v2from
models-reasoning

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • add models.dev reasoning_options metadata parsing
  • allow future reasoning option types without failing schema decode
  • cover known and future reasoning option decoding

Tests

  • bun test test/models.test.ts
  • bun typecheck

@rekram1-node
rekram1-node changed the base branch from dev to v2 June 30, 2026 12:46
@rekram1-node
rekram1-node merged commit 75715e2 into v2 Jun 30, 2026
2 checks passed
@rekram1-node
rekram1-node deleted the models-reasoning branch June 30, 2026 12:54
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 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.

1 participant