Commit dcc4a7a
test(core): pass stub embedding provider to SQLiteSearchRepository at construction time
On the SQLite path, SQLiteSearchRepository.__init__ calls
create_embedding_provider() when semantic_search_enabled=True and no
provider is supplied, which could pull FastEmbed/cache artifacts or
fail where semantic deps are unusable. The Postgres branch already
passed the stub provider at construction; bring the SQLite branch in
line by passing embedding_provider=provider to the constructor and
removing the redundant after-the-fact attribute swaps.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Drew Cain <groksrc@gmail.com>1 parent 2029991 commit dcc4a7a
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| 114 | + | |
112 | 115 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
| |||
0 commit comments