Skip to content

fix(providers/xai): edit supported models for structured output#5715

Merged
lgrammel merged 3 commits intovercel:mainfrom
mxzinke:patch-2
Apr 14, 2025
Merged

fix(providers/xai): edit supported models for structured output#5715
lgrammel merged 3 commits intovercel:mainfrom
mxzinke:patch-2

Conversation

@mxzinke
Copy link
Copy Markdown
Contributor

@mxzinke mxzinke commented Apr 12, 2025

Background

Current list was incomplete: https://docs.x.ai/docs/guides/structured-outputs

Summary

Added all new grok-3 models to the list of structured output

@mxzinke mxzinke changed the title fix(xai): edit supported models for structured output fix(providers/xai): edit supported models for structured output Apr 12, 2025
@lgrammel
Copy link
Copy Markdown
Collaborator

@samdenty can you review this PR?

@samdenty
Copy link
Copy Markdown
Contributor

Yep, I think with the recent change we also need to mention aliases

@samdenty samdenty requested a review from lgrammel April 13, 2025 14:52
@samdenty
Copy link
Copy Markdown
Contributor

@lgrammel just added a changeset & included the aliases

@lgrammel lgrammel merged commit ebeeb32 into vercel:main Apr 14, 2025
7 checks passed
lgrammel pushed a commit that referenced this pull request Apr 14, 2025
Co-authored-by: Sam Denty <samddenty@gmail.com>
Co-authored-by: Sam Denty <sam@samdenty.com>
lgrammel added a commit that referenced this pull request Apr 14, 2025
… (#5741)

Co-authored-by: Maximilian P. <max@coin-mirror.org>
Co-authored-by: Sam Denty <samddenty@gmail.com>
Co-authored-by: Sam Denty <sam@samdenty.com>
samdenty pushed a commit that referenced this pull request Apr 14, 2025
…derOptions

* origin/v5:
  chore: update .gitignore (#5755)
  chore: refactor source parts (spec) (#5753)
  chore: refactor file parts (spec) (#5750)
  chore: refactor tool call and tool call delta parts (spec) (#5746)
  fix(providers/xai): edit supported models for structured output (#5715) (#5741)
samdenty pushed a commit that referenced this pull request Apr 15, 2025
* origin/v5: (36 commits)
  fix (provider): remove deprecated `Experimental_LanguageModelV2Middleware` (#5775)
  fix (ai): remove deprecated `options.throwErrorForEmptyVectors` from `cosineSimilarity()` (#5772)
  fix (ai/core): filter out empty content/text assistant messages (#5767) (#5783)
  fix (ai): remove deprecated `CoreTool*` types (#5768)
  chore: refactor text parts (spec) (#5759)
  feat(embedding-model-v2): add response body field (#5700)
  feat(embedding-model-v2): add providerOptions (#5698)
  chore: refactor reasoning parts (spec) (#5756)
  chore: update .gitignore (#5755)
  chore: refactor source parts (spec) (#5753)
  chore: refactor file parts (spec) (#5750)
  chore: refactor tool call and tool call delta parts (spec) (#5746)
  fix(providers/xai): edit supported models for structured output (#5715) (#5741)
  chore (ai): remove provider re-exports (#5734)
  chore (provider): extract shared provider options and metadata (spec) (#5733)
  fix(ai/core): properly handle custom separator in provider registry (#5713) (#5732)
  chore (providers/xai): update grok-3 model aliases (#5646)
  chore(embedding-model-v2): rename rawResponse to response (#5699)
  chore(providers/mistral): convert to providerOptions (#5675)
  chore: refactor file towards source pattern (spec) (#5709)
  ...
samdenty pushed a commit that referenced this pull request Apr 15, 2025
…der-options

* origin/v5: (36 commits)
  fix (provider): remove deprecated `Experimental_LanguageModelV2Middleware` (#5775)
  fix (ai): remove deprecated `options.throwErrorForEmptyVectors` from `cosineSimilarity()` (#5772)
  fix (ai/core): filter out empty content/text assistant messages (#5767) (#5783)
  fix (ai): remove deprecated `CoreTool*` types (#5768)
  chore: refactor text parts (spec) (#5759)
  feat(embedding-model-v2): add response body field (#5700)
  feat(embedding-model-v2): add providerOptions (#5698)
  chore: refactor reasoning parts (spec) (#5756)
  chore: update .gitignore (#5755)
  chore: refactor source parts (spec) (#5753)
  chore: refactor file parts (spec) (#5750)
  chore: refactor tool call and tool call delta parts (spec) (#5746)
  fix(providers/xai): edit supported models for structured output (#5715) (#5741)
  chore (ai): remove provider re-exports (#5734)
  chore (provider): extract shared provider options and metadata (spec) (#5733)
  fix(ai/core): properly handle custom separator in provider registry (#5713) (#5732)
  chore (providers/xai): update grok-3 model aliases (#5646)
  chore(embedding-model-v2): rename rawResponse to response (#5699)
  chore(providers/mistral): convert to providerOptions (#5675)
  chore: refactor file towards source pattern (spec) (#5709)
  ...
@gr2m gr2m added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label provider/xai Issues related to the @ai-sdk/xai provider labels Oct 28, 2025
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/xai Issues related to the @ai-sdk/xai provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants