Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 26, 2025

This PR contains the following updates:

Package Change Age Confidence
@ai-sdk/openai (source) 2.0.883.0.2 age confidence

Summary

The original Renovate PR failed typechecking because @ai-sdk/openai v3 exports EmbeddingModelV3 while the ai package v5.x expected EmbeddingModelV2<string>. This PR includes additional changes to fix compatibility:

  • Updated ai dependency from ^5.0.0 to ^6.0.0 (required for v3 provider compatibility)
  • Removed generic type parameter from EmbeddingModel type (no longer generic in ai v6)
  • Added type cast in embed() call where query is guaranteed to be a string

Review & Testing Checklist for Human

  • Breaking change impact: The ai package bump from v5 to v6 is a major version change. Verify this is acceptable for downstream users of @convex-dev/rag
  • Type cast safety: Verify the args.query as string cast at line 397 is safe - it's guarded by if (!embedding) which only runs when query is not an array, but confirm this logic is correct
  • Test with a real embedding model: Run the example app or tests with an actual OpenAI embedding model to verify embeddings work end-to-end

Notes


Release Notes (from Renovate)

v3.0.2

Compare Source

Patch Changes
  • 863d34f: fix: trigger release to update @latest

v3.0.0

Major Changes
Notable Changes
  • 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3
  • 0c4822d: feat: EmbeddingModelV3

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 04:59 AM, Monday through Friday ( * 0-4 * * 1-5 ) in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai
Copy link

coderabbitai bot commented Dec 26, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 26, 2025

Open in StackBlitz

npm i https://pkg.pr.new/get-convex/rag/@convex-dev/rag@68

commit: 68119e0

@renovate renovate bot force-pushed the renovate/ai-sdk-openai-3.x branch from 7d86893 to 8d86101 Compare December 26, 2025 17:52
@renovate renovate bot force-pushed the renovate/ai-sdk-openai-3.x branch from 8d86101 to 114c79d Compare January 2, 2026 22:26
@renovate renovate bot force-pushed the renovate/ai-sdk-openai-3.x branch from 114c79d to 2af7fcb Compare January 5, 2026 16:13
- Update ai dependency from ^5.0.0 to ^6.0.0
- Remove generic type parameter from EmbeddingModel (no longer generic in v6)
- Fix embed() call to cast query to string when not an array

Co-Authored-By: Ian Macartney <[email protected]>
@renovate
Copy link
Contributor Author

renovate bot commented Jan 5, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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