Commit b1643ee
fix(knowledge): only enforce single embedding model when query is present
Tag-only searches don't generate a query embedding, so two KBs with
different embedding models can be filtered together. Gate the guard on
hasQuery so cross-model tag-only queries no longer 400.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 97fa4d5 commit b1643ee
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| 254 | + | |
254 | 255 | | |
255 | | - | |
| 256 | + | |
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
| |||
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
266 | | - | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
0 commit comments