Repository navigation
Tags
Tags
Version Packages (vercel#18977) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v6.0, this PR will be updated. # Releases ## ai@6.0.257 ### Patch Changes - Updated dependencies [000b243] - @ai-sdk/gateway@3.0.175 ## @ai-sdk/alibaba@1.0.47 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/angular@2.0.258 ### Patch Changes - ai@6.0.257 ## @ai-sdk/baseten@1.1.6 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/cerebras@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/deepinfra@2.0.73 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/fireworks@2.0.78 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/gateway@3.0.175 ### Patch Changes - 000b243: Backport: chore(provider/gateway): update gateway model settings files ## @ai-sdk/gmicloud@2.0.2 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/google-vertex@4.0.184 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/huggingface@1.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/langchain@2.0.265 ### Patch Changes - ai@6.0.257 ## @ai-sdk/llamaindex@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/moonshotai@2.0.47 ### Patch Changes - c01944c: feat(provider/moonshotai): normalize tool schemas for Moonshot's MFJS validator. Tuple `items` arrays become `prefixItems`, `type` next to `anyOf` moves into the branches, and non-`object` root schemas fail with a clear client-side error instead of Moonshot's opaque 400. Everything else passes through unchanged; the original schema is still used for AI SDK result validation. ## @ai-sdk/openai-compatible@2.0.69 ### Patch Changes - 7440d89: fix(openai-compatible): preserve unmapped usage fields in `usage.raw` `usage.raw` is specified as usage "in the shape that the provider returns", and the chat model already parsed the usage object loosely so that extra top-level fields survived. The nested `prompt_tokens_details` and `completion_tokens_details` objects were still strict, so anything a provider reported inside them was dropped — which is where providers put their most distinguishing detail. The existing "should preserve extra usage fields" fixture was itself losing `audio_tokens`, `image_tokens` and `text_tokens` this way. Both nested objects are now parsed loosely, as is the completion model's usage schema, which was strict throughout despite feeding the same `raw` field. Only `usage.raw` changes. The mapped token counts are unaffected. ## @ai-sdk/react@3.0.260 ### Patch Changes - ai@6.0.257 ## @ai-sdk/rsc@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/svelte@4.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/togetherai@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vercel@2.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vue@3.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/xai@3.0.123 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Version Packages (vercel#18977) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v6.0, this PR will be updated. # Releases ## ai@6.0.257 ### Patch Changes - Updated dependencies [000b243] - @ai-sdk/gateway@3.0.175 ## @ai-sdk/alibaba@1.0.47 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/angular@2.0.258 ### Patch Changes - ai@6.0.257 ## @ai-sdk/baseten@1.1.6 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/cerebras@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/deepinfra@2.0.73 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/fireworks@2.0.78 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/gateway@3.0.175 ### Patch Changes - 000b243: Backport: chore(provider/gateway): update gateway model settings files ## @ai-sdk/gmicloud@2.0.2 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/google-vertex@4.0.184 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/huggingface@1.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/langchain@2.0.265 ### Patch Changes - ai@6.0.257 ## @ai-sdk/llamaindex@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/moonshotai@2.0.47 ### Patch Changes - c01944c: feat(provider/moonshotai): normalize tool schemas for Moonshot's MFJS validator. Tuple `items` arrays become `prefixItems`, `type` next to `anyOf` moves into the branches, and non-`object` root schemas fail with a clear client-side error instead of Moonshot's opaque 400. Everything else passes through unchanged; the original schema is still used for AI SDK result validation. ## @ai-sdk/openai-compatible@2.0.69 ### Patch Changes - 7440d89: fix(openai-compatible): preserve unmapped usage fields in `usage.raw` `usage.raw` is specified as usage "in the shape that the provider returns", and the chat model already parsed the usage object loosely so that extra top-level fields survived. The nested `prompt_tokens_details` and `completion_tokens_details` objects were still strict, so anything a provider reported inside them was dropped — which is where providers put their most distinguishing detail. The existing "should preserve extra usage fields" fixture was itself losing `audio_tokens`, `image_tokens` and `text_tokens` this way. Both nested objects are now parsed loosely, as is the completion model's usage schema, which was strict throughout despite feeding the same `raw` field. Only `usage.raw` changes. The mapped token counts are unaffected. ## @ai-sdk/react@3.0.260 ### Patch Changes - ai@6.0.257 ## @ai-sdk/rsc@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/svelte@4.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/togetherai@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vercel@2.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vue@3.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/xai@3.0.123 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Version Packages (vercel#18978) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v5.0, this PR will be updated. # Releases ## ai@5.0.238 ### Patch Changes - Updated dependencies [b484978] - @ai-sdk/gateway@2.0.135 ## @ai-sdk/angular@1.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/gateway@2.0.135 ### Patch Changes - b484978: Backport: chore(provider/gateway): update gateway model settings files ## @ai-sdk/langchain@1.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/llamaindex@1.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/react@2.0.241 ### Patch Changes - ai@5.0.238 ## @ai-sdk/rsc@1.0.240 ### Patch Changes - ai@5.0.238 ## @ai-sdk/svelte@3.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/vue@2.0.238 ### Patch Changes - ai@5.0.238 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Version Packages (vercel#18977) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v6.0, this PR will be updated. # Releases ## ai@6.0.257 ### Patch Changes - Updated dependencies [000b243] - @ai-sdk/gateway@3.0.175 ## @ai-sdk/alibaba@1.0.47 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/angular@2.0.258 ### Patch Changes - ai@6.0.257 ## @ai-sdk/baseten@1.1.6 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/cerebras@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/deepinfra@2.0.73 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/fireworks@2.0.78 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/gateway@3.0.175 ### Patch Changes - 000b243: Backport: chore(provider/gateway): update gateway model settings files ## @ai-sdk/gmicloud@2.0.2 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/google-vertex@4.0.184 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/huggingface@1.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/langchain@2.0.265 ### Patch Changes - ai@6.0.257 ## @ai-sdk/llamaindex@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/moonshotai@2.0.47 ### Patch Changes - c01944c: feat(provider/moonshotai): normalize tool schemas for Moonshot's MFJS validator. Tuple `items` arrays become `prefixItems`, `type` next to `anyOf` moves into the branches, and non-`object` root schemas fail with a clear client-side error instead of Moonshot's opaque 400. Everything else passes through unchanged; the original schema is still used for AI SDK result validation. ## @ai-sdk/openai-compatible@2.0.69 ### Patch Changes - 7440d89: fix(openai-compatible): preserve unmapped usage fields in `usage.raw` `usage.raw` is specified as usage "in the shape that the provider returns", and the chat model already parsed the usage object loosely so that extra top-level fields survived. The nested `prompt_tokens_details` and `completion_tokens_details` objects were still strict, so anything a provider reported inside them was dropped — which is where providers put their most distinguishing detail. The existing "should preserve extra usage fields" fixture was itself losing `audio_tokens`, `image_tokens` and `text_tokens` this way. Both nested objects are now parsed loosely, as is the completion model's usage schema, which was strict throughout despite feeding the same `raw` field. Only `usage.raw` changes. The mapped token counts are una 10BC8 ffected. ## @ai-sdk/react@3.0.260 ### Patch Changes - ai@6.0.257 ## @ai-sdk/rsc@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/svelte@4.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/togetherai@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vercel@2.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vue@3.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/xai@3.0.123 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Version Packages (vercel#18977) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v6.0, this PR will be updated. # Releases ## ai@6.0.257 ### Patch Changes - Updated dependencies [000b243] - @ai-sdk/gateway@3.0.175 ## @ai-sdk/alibaba@1.0.47 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/angular@2.0.258 ### Patch Changes - ai@6.0.257 ## @ai-sdk/baseten@1.1.6 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/cerebras@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/deepinfra@2.0.73 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/fireworks@2.0.78 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/gateway@3.0.175 ### Patch Changes - 000b243: Backport: chore(provider/gateway): update gateway model settings files ## @ai-sdk/gmicloud@2.0.2 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/google-vertex@4.0.184 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/huggingface@1.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/langchain@2.0.265 ### Patch Changes - ai@6.0.257 ## @ai-sdk/llamaindex@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/moonshotai@2.0.47 ### Patch Changes - c01944c: feat(provider/moonshotai): normalize tool schemas for Moonshot's MFJS validator. Tuple `items` arrays become `prefixItems`, `type` next to `anyOf` moves into the branches, and non-`object` root schemas fail with a clear client-side error instead of Moonshot's opaque 400. Everything else passes through unchanged; the original schema is still used for AI SDK result validation. ## @ai-sdk/openai-compatible@2.0.69 ### Patch Changes - 7440d89: fix(openai-compatible): preserve unmapped usage fields in `usage.raw` `usage.raw` is specified as usage "in the shape that the provider returns", and the chat model already parsed the usage object loosely so that extra top-level fields survived. The nested `prompt_tokens_details` and `completion_tokens_details` objects were still strict, so anything a provider reported inside them was dropped — which is where providers put their most distinguishing detail. The existing "should preserve extra usage fields" fixture was itself losing `audio_tokens`, `image_tokens` and `text_tokens` this way. Both nested objects are now parsed loosely, as is the completion model's usage schema, which was strict throughout despite feeding the same `raw` field. Only `usage.raw` changes. The mapped token counts are unaffected. ## @ai-sdk/react@3.0.260 ### Patch Changes - ai@6.0.257 ## @ai-sdk/rsc@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/svelte@4.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/togetherai@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vercel@2.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vue@3.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/xai@3.0.123 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Version Packages (vercel#18977) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v6.0, this PR will be updated. # Releases ## ai@6.0.257 ### Patch Changes - Updated dependencies [000b243] - @ai-sdk/gateway@3.0.175 ## @ai-sdk/alibaba@1.0.47 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/angular@2.0.258 ### Patch Changes - ai@6.0.257 ## @ai-sdk/baseten@1.1.6 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/cerebras@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/deepinfra@2.0.73 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/fireworks@2.0.78 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/gateway@3.0.175 ### Patch Changes - 000b243: Backport: chore(provider/gateway): update gateway model settings files ## @ai-sdk/gmicloud@2.0.2 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/google-vertex@4.0.184 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/huggingface@1.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/langchain@2.0.265 ### Patch Changes - ai@6.0.257 ## @ai-sdk/llamaindex@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/moonshotai@2.0.47 ### Patch Changes - c01944c: feat(provider/moonshotai): normalize tool schemas for Moonshot's MFJS validator. Tuple `items` arrays become `prefixItems`, `type` next to `anyOf` moves into the branches, and non-`object` root schemas fail with a clear client-side error instead of Moonshot's opaque 400. Everything else passes through unchanged; the original schema is still used for AI SDK result validation. ## @ai-sdk/openai-compatible@2.0.69 ### Patch Changes - 7440d89: fix(openai-compatible): preserve unmapped usage fields in `usage.raw` `usage.raw` is specified as usage "in the shape that the provider returns", and the chat model already parsed the usage object loosely so that extra top-level fields survived. The nested `prompt_tokens_details` and `completion_tokens_details` objects were still strict, so anything a provider reported inside them was dropped — which is where providers put their most distinguishing detail. The existing "should preserve extra usage fields" fixture was itself losing `audio_tokens`, `image_tokens` and `text_tokens` this way. Both nested objects are now parsed loosely, as is the completion model's usage schema, which was strict throughout despite feeding the same `raw` field. Only `usage.raw` changes. The mapped token counts are unaffected. ## @ai-sdk/react@3.0.260 ### Patch Changes - ai@6.0.257 ## @ai-sdk/rsc@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/svelte@4.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/togetherai@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vercel@2.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vue@3.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/xai@3.0.123 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Version Packages (vercel#18978) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v5.0, this PR will be updated. # Releases ## ai@5.0.238 ### Patch Changes - Updated dependencies [b484978] - @ai-sdk/gateway@2.0.135 ## @ai-sdk/angular@1.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/gateway@2.0.135 ### Patch Changes - b484978: Backport: chore(provider/gateway): update gateway model settings files ## @ai-sdk/langchain@1.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/llamaindex@1.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/react@2.0.241 ### Patch Changes - ai@5.0.238 ## @ai-sdk/rsc@1.0.240 ### Patch Changes - ai@5.0.238 ## @ai-sdk/svelte@3.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/vue@2.0.238 ### Patch Changes - ai@5.0.238 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Version Packages (vercel#18977) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v6.0, this PR will be updated. # Releases ## ai@6.0.257 ### Patch Changes - Updated dependencies [000b243] - @ai-sdk/gateway@3.0.175 ## @ai-sdk/alibaba@1.0.47 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/angular@2.0.258 ### Patch Changes - ai@6.0.257 ## @ai-sdk/baseten@1.1.6 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/cerebras@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/deepinfra@2.0.73 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/fireworks@2.0.78 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/gateway@3.0.175 ### Patch Changes - 000b243: Backport: chore(provider/gateway): update gateway model settings files ## @ai-sdk/gmicloud@2.0.2 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/google-vertex@4.0.184 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/huggingface@1.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/langchain@2.0.265 ### Patch Changes - ai@6.0.257 ## @ai-sdk/llamaindex@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/moonshotai@2.0.47 ### Patch Changes - c01944c: feat(provider/moonshotai): normalize tool schemas for Moonshot's MFJS validator. Tuple `items` arrays become `prefixItems`, `type` next to `anyOf` moves into the branches, and non-`object` root schemas fail with a clear client-side error instead of Moonshot's opaque 400. Everything else passes through unchanged; the original schema is still used for AI SDK result validation. ## @ai-sdk/openai-compatible@2.0.69 ### Patch Changes - 7440d89: fix(openai-compatible): preserve unmapped usage fields in `usage.raw` `usage.raw` is specified as usage "in the shape that the provider returns", and the chat model already parsed the usage object loosely so that extra top-level fields survived. The nested `prompt_tokens_details` and `completion_tokens_details` objects were still strict, so anything a provider reported inside them was dropped — which is where providers put their most distinguishing detail. The existing "should preserve extra usage fields" fixture was itself losing `audio_tokens`, `image_tokens` and `text_tokens` this way. Both nested objects are now parsed loosely, as is the completion model's usage schema, which was strict throughout despite feeding the same `raw` field. Only `usage.raw` changes. The mapped token counts are unaffected. ## @ai-sdk/react@3.0.260 ### Patch Changes - ai@6.0.257 ## @ai-sdk/rsc@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/svelte@4.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/togetherai@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vercel@2.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vue@3.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/xai@3.0.123 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Version Packages (vercel#18978) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v5.0, this PR will be updated. # Releases ## ai@5.0.238 ### Patch Changes - Updated dependencies [b484978] - @ai-sdk/gateway@2.0.135 ## @ai-sdk/angular@1.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/gateway@2.0.135 ### Patch Changes - b484978: Backport: chore(provider/gateway): update gateway model settings files ## @ai-sdk/langchain@1.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/llamaindex@1.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/react@2.0.241 ### Patch Changes - ai@5.0.238 ## @ai-sdk/rsc@1.0.240 ### Patch Changes - ai@5.0.238 ## @ai-sdk/svelte@3.0.238 ### Patch Changes - ai@5.0.238 ## @ai-sdk/vue@2.0.238 ### Patch Changes - ai@5.0.238 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Version Packages (vercel#18977) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to release-v6.0, this PR will be updated. # Releases ## ai@6.0.257 ### Patch Changes - Updated dependencies [000b243] - @ai-sdk/gateway@3.0.175 ## @ai-sdk/alibaba@1.0.47 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/angular@2.0.258 ### Patch Changes - ai@6.0.257 ## @ai-sdk/baseten@1.1.6 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/cerebras@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/deepinfra@2.0.73 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/fireworks@2.0.78 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/gateway@3.0.175 ### Patch Changes - 000b243: Backport: chore(provider/gateway): update gateway model settings files ## @ai-sdk/gmicloud@2.0.2 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/google-vertex@4.0.184 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/huggingface@1.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/langchain@2.0.265 ### Patch Changes - ai@6.0.257 ## @ai-sdk/llamaindex@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/moonshotai@2.0.47 ### Patch Changes - c01944c: feat(provider/moonshotai): normalize tool schemas for Moonshot's MFJS validator. Tuple `items` arrays become `prefixItems`, `type` next to `anyOf` moves into the branches, and non-`object` root schemas fail with a clear client-side error instead of Moonshot's opaque 400. Everything else passes through unchanged; the original schema is still used for AI SDK result validation. ## @ai-sdk/openai-compatible@2.0.69 ### Patch Changes - 7440d89: fix(openai-compatible): preserve unmapped usage fields in `usage.raw` `usage.raw` is specified as usage "in the shape that the provider returns", and the chat model already parsed the usage object loosely so that extra top-level fields survived. The nested `prompt_tokens_details` and `completion_tokens_details` objects were still strict, so anything a provider reported inside them was dropped — which is where providers put their most distinguishing detail. The existing "should preserve extra usage fields" fixture was itself losing `audio_tokens`, `image_tokens` and `text_tokens` this way. Both nested objects are now parsed loosely, as is the completion model's usage schema, which was strict throughout despite feeding the same `raw` field. Only `usage.raw` changes. The mapped token counts are unaffected. ## @ai-sdk/react@3.0.260 ### Patch Changes - ai@6.0.257 ## @ai-sdk/rsc@2.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/svelte@4.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/togetherai@2.0.75 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vercel@2.0.71 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 ## @ai-sdk/vue@3.0.257 ### Patch Changes - ai@6.0.257 ## @ai-sdk/xai@3.0.123 ### Patch Changes - Updated dependencies [7440d89] - @ai-sdk/openai-compatible@2.0.69 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
PreviousNext