Commit 21c34f1
committed
fix: prevent duplicate LM Studio models in provider configuration
- Use consistent model.path as key for both downloaded and loaded models
- Fixes issue where models appeared twice with different identifiers
- Update tests to reflect the new consistent key usage
Fixes #69541 parent b30372d commit 21c34f1
File tree
2 files changed
+4
-3
lines changed- src/api/providers/fetchers
- __tests__
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments