Skip to content

Conversation

gerynugrh
Copy link

Background

Current xAI provider doesn't support propagating custom imageDetail to xAI's API. Relevant docs: https://ai-sdk.dev/providers/ai-sdk-providers/xai

Summary

Added new provider options "imageDetail" for xAI to specify image quality when using xAI based model

Manual Verification

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)
  • Formatting issues have been fixed (run pnpm prettier-fix in the project root)
  • I have reviewed this pull request (self-review)

Future Work

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