Commit d774e6a
committed
fix: remove hardcoded dimension fallback to respect UI settings
- Removed hardcoded fallback value (1536) from codebaseIndexEmbedderModelDimension in ClineProvider.ts
- This allows the proper dimension resolution hierarchy to work:
1. User-configured dimension from UI settings
2. Model-specific defaults from embedding model profiles
3. System defaults handled by service factory
- Fixes issue where UI-configured dimensions were being ignored
Fixes #57541 parent 6fd261d commit d774e6a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1867 | 1867 | | |
1868 | 1868 | | |
1869 | 1869 | | |
1870 | | - | |
| 1870 | + | |
1871 | 1871 | | |
1872 | 1872 | | |
1873 | 1873 | | |
| |||
0 commit comments