Skip to content

feat: AI SDK v6 support#18433

Merged
rekram1-node merged 45 commits intodevfrom
ai-sdk-v6
Mar 27, 2026
Merged

feat: AI SDK v6 support#18433
rekram1-node merged 45 commits intodevfrom
ai-sdk-v6

Conversation

@rekram1-node
Copy link
Copy Markdown
Collaborator

@rekram1-node rekram1-node commented Mar 20, 2026

TODO:

@rekram1-node rekram1-node marked this pull request as draft March 20, 2026 20:14
…t before this PR can be merged VERYYYY IMPORTANTgcleangclean
…is LanguageModelV3 instead of LanuageModel union (should fix compat in llm.ts)
…t and tool-approval-response, fix type inference w/ union stuff
opencode-agent bot added a commit that referenced this pull request Mar 27, 2026
opencode-agent bot added a commit that referenced this pull request Mar 27, 2026
opencode-agent bot added a commit that referenced this pull request Mar 27, 2026
opencode-agent bot added a commit that referenced this pull request Mar 27, 2026
opencode-agent bot added a commit that referenced this pull request Mar 27, 2026
opencode-agent bot added a commit that referenced this pull request Mar 27, 2026
@kitlangton
Copy link
Copy Markdown
Contributor

/review and don't you dare just say LGTM

@github-actions
Copy link
Copy Markdown
Contributor

lgtm

@rekram1-node
Copy link
Copy Markdown
Collaborator Author

I don't think that the header thing should be an issue for many if any providers, should it become one we will explore approaches to fix it depending on use case.

As a work around if someone were to encounter an issue they could always temporarily create a provider hook that overrides the fetch impl and drops the headers. See codex.ts for example of how to override fetch. (U could also downgrade ofc)

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.

4 participants