Skip to content

Version Packages - #480

Merged
robert-j-y merged 1 commit into
mainfrom
changeset-release/main
Apr 16, 2026
Merged

Version Packages#480
robert-j-y merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

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 d32823e Thanks @robert-j-y! - feat: support Anthropic eager_input_streaming parameter via tool providerOptions

    Tools can now pass eager_input_streaming: true through providerOptions.openrouter.eager_input_streaming to enable Anthropic's fine-grained tool streaming, reducing latency for large tool outputs.

Patch Changes

  • #477 918d564 Thanks @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 839f9b0 Thanks @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 916c4c1 Thanks @robert-j-y! - feat: add temperature and other common settings to model-level configuration

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 857e2e1 to 29d3f34 Compare April 15, 2026 21:45
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 29d3f34 to e488f43 Compare April 15, 2026 22:08
@robert-j-y
robert-j-y merged commit 269f806 into main Apr 16, 2026
1 check passed
@robert-j-y
robert-j-y deleted the changeset-release/main branch April 16, 2026 01:25
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