Version Packages - #480
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
April 15, 2026 21:45
857e2e1 to
29d3f34
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
April 15, 2026 22:08
29d3f34 to
e488f43
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@openrouter/ai-sdk-provider@2.7.0
Minor Changes
#465
d32823eThanks @robert-j-y! - feat: support Anthropic eager_input_streaming parameter via tool providerOptionsTools can now pass
eager_input_streaming: truethroughproviderOptions.openrouter.eager_input_streamingto enable Anthropic's fine-grained tool streaming, reducing latency for large tool outputs.Patch Changes
#477
918d564Thanks @robert-j-y! - fix: stop attaching accumulated reasoning_details to reasoning-delta events (Tool call events are buffered until stream ends (flush) causing perceived streaming delay #413)Previously, each reasoning-delta chunk carried a full snapshot of all
accumulatedReasoningDetails in its providerMetadata. For N reasoning
chunks, this caused O(N²) total payload size.
reasoning-start and reasoning-delta events no longer carry providerMetadata.
The full accumulated reasoning_details are still available on reasoning-end,
tool-call, and finish events (unchanged).
#473
839f9b0Thanks @robert-j-y! - fix: add defensive usage fallback in streaming flush handler (Standard usage object empty when usage data is in providerMetadata #419)When the standard usage object has undefined totals but openrouterUsage
has valid token data, the flush handler now copies values from
openrouterUsage as a fallback. This ensures usage.inputTokens.total and
usage.outputTokens.total are populated even when providers deliver usage
data in non-standard chunk formats.
#388
916c4c1Thanks @robert-j-y! - feat: add temperature and other common settings to model-level configuration