You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(knowledge): match search tokenizer to embedding provider; remove dead var
Cursor bugbot:
- Token estimation was hardcoded to 'openai' for every embedding model.
For gemini-embedding-001 the cost was computed against an OpenAI-tokenized
count, producing wrong input.tokens.prompt and (slightly) wrong cost.
Now derive the tokenizer provider from the embedding model's provider.
- rerankApplied was set but never read. Removed.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments