Skip to content

Conversation

@ItsRoy69
Copy link
Contributor

@ItsRoy69 ItsRoy69 commented Oct 24, 2025

Summary

This PR fixes a bug where the dimensions parameter was not being passed to the OpenAI API when using the text-embedding-v4 model (and other newer embedding models).

Closes #5165

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Improvement
  • Model update
  • Other:

Checklist

  • Code complies with style guidelines
  • Ran format/validation scripts (./scripts/format.sh and ./scripts/validate.sh)
  • Self-review completed
  • Documentation updated (comments, docstrings)
  • Examples and guides: Relevant cookbook examples have been included or updated (if applicable)
  • Tested in clean environment
  • Tests added/updated (if applicable)

Additional Notes

Add any important context (deployment instructions, screenshots, security considerations, etc.)

@ItsRoy69 ItsRoy69 requested a review from a team as a code owner October 24, 2025 16:17
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.

[Bug] The value of the parameter dimensions is lost when using the text-embedding-v4 model.

1 participant