fix(gateway): correct Codestral embedding dimension#3197
Open
marius-kilocode wants to merge 6 commits into
Open
fix(gateway): correct Codestral embedding dimension#3197marius-kilocode wants to merge 6 commits into
marius-kilocode wants to merge 6 commits into
Conversation
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Changes Since Last ReviewThe new commit reverted
Files Reviewed (5 files)
Reviewed by claude-sonnet-4.6 · 245,185 tokens |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kilo indexing uses
/api/gateway/embedding-modelsas the source of truth for local vector-store dimensions. After #3196 stopped forwardingdimensionsto upstream providers,mistralai/codestral-embed-2505returns its native 1536-dimensional vectors.The catalog still advertised Codestral as 256 dimensions, so the client created a 256-dimensional Qdrant collection and then upserted 1536-dimensional vectors. Qdrant rejects that with
Wrong input: Vector dimension error: expected dim: 256, got 1536, which surfaced in the extension as a genericBad Request.This updates the Codestral catalog entry to 1536 so the vector store is created with the dimension the gateway actually returns.