npm @openrouter/ai-sdk-provider 1.0.0
v1.0.0

latest releases: 3.1.0, 3.0.0, 2.10.0...
15 months ago

BREAKING CHANGE: From this release onward, this SDK provider will only work with AI SDKv5. To work with v4, please stick to v0.x.x

What's Changed

  • fix: fix filename of file part by @txperl in #86
  • fix: properly embed cache_control in content array for user messages by @charleslien in #96
  • chore: add e2e pdf tests by @louisgv in #97
  • chore: add reasoning enabled to the reasoning type by @louisgv in #98
  • feat: AI SDK v5 Migration by @devin-ai-integration[bot] in #77
  • chore: make index optional by @louisgv in #99
  • fix: Added missing events by @IAmStiven in #105
  • chore: update zod to 4 + other version bumps by @dskoda1 in #112
  • fix: error schema failing to parse when field is missing from JSON response by @niekert in #108
  • fix: Added missing costDetails property by @jonjomckay in #107
  • fix: ensure consistent message IDs in streaming deltas for AI SDK v5 compatibility by @louisgv in #114
  • feat: add beta tag support for prerelease versions in publish workflow by @louisgv in #115
  • docs(provider): Fix typos in chat settings documentation by @gap-editor in #117
  • feat: file as URL by @louisgv in #100
  • fix tool-input-delta being sent before tool-input-start by @niekert in #118
  • fix: return reasoning content with generateText() by @fry69 in #116
  • fix: prioritize reasoning_details over reasoning by @dskoda1 in #123
  • fix(chat): prevent error when a toolCall is not present at toolCalls index by @roaminro in #126
  • refactor: adjust the processing order of inference blocks and text blocks to optimize streaming responses by @JessYan0913 in #125
  • fix: typos by @crStiv in #130
  • fix: Pass through json schema for generateObject and streamObject by @archieedwards in #132
  • fix: simplify null checks for reasoning and content by @DeJeune in #135
  • Are we 1.0 yet? by @louisgv in #138
  • fix: Wrong reasoning order with OpenRouter-provider with AI SDK 5 by @gylove1994 in #141
  • chore: update dependencies by @fry69 in #139

New Contributors

Full Changelog: v0.7.2...v1.0.0

Don't miss a new ai-sdk-provider release

NewReleases is sending notifications on new releases.