Skip to content

fix(provider/gateway): Fix Gateway image model provider options not passing through#10473

Merged
R-Taneja merged 3 commits intomainfrom
fix-gateway-image-model-provider-options
Nov 22, 2025
Merged

fix(provider/gateway): Fix Gateway image model provider options not passing through#10473
R-Taneja merged 3 commits intomainfrom
fix-gateway-image-model-provider-options

Conversation

@R-Taneja
Copy link
Copy Markdown
Contributor

@R-Taneja R-Taneja commented Nov 21, 2025

Background

Gateway image model provider options weren't being passed through

Summary

Includes them in the request

Manual Verification

Ran an example script and the provider options are now clearly working in the response

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

@R-Taneja R-Taneja requested a review from shaper November 21, 2025 23:26
@vercel-ai-sdk vercel-ai-sdk bot added ai/gateway ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label labels Nov 21, 2025
@R-Taneja R-Taneja merged commit 5dd4c6a into main Nov 22, 2025
19 checks passed
@R-Taneja R-Taneja deleted the fix-gateway-image-model-provider-options branch November 22, 2025 02:57
@R-Taneja R-Taneja added the backport Admins only: add this label to a pull request in order to backport it to the prior version label Nov 22, 2025
vercel-ai-sdk bot pushed a commit that referenced this pull request Nov 22, 2025
…assing through (#10473)

<!--
Welcome to contributing to AI SDK! We're excited to see your changes.

We suggest you read the following contributing guide we've created
before submitting:

https://github.com/vercel/ai/blob/main/CONTRIBUTING.md
-->

## Background
Gateway image model provider options weren't being passed through

## Summary
Includes them in the request

## Manual Verification
Ran an example script and the provider options are now clearly working
in the response

## Checklist

<!--
Do not edit this list. Leave items unchecked that don't apply. If you
need to track subtasks, create a new "## Tasks" section

Please check if the PR fulfills the following requirements:
-->

- [x] Tests have been added / updated (for bug fixes / features)
- [ ] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [X] I have reviewed this pull request (self-review)
@vercel-ai-sdk vercel-ai-sdk bot removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label Nov 22, 2025
@vercel-ai-sdk
Copy link
Copy Markdown
Contributor

vercel-ai-sdk bot commented Nov 22, 2025

✅ Backport PR created: #10494

vercel-ai-sdk bot added a commit that referenced this pull request Nov 22, 2025
…ions not passing through (#10494)

This is an automated backport of #10473 to the release-v5.0 branch. FYI
@R-Taneja

Co-authored-by: Rohan Taneja <47066511+R-Taneja@users.noreply.github.com>
@gr2m gr2m added provider/gateway Issues related to the @ai-sdk/gateway provider and removed ai/gateway labels Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label provider/gateway Issues related to the @ai-sdk/gateway provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants