Commit c932344
committed
Fix type errors from main branch merge
The main branch code attempted to pass clientUserAgent to DirectContext.create/import
and AugmentLanguageModel, but these APIs don't accept that parameter.
Changes:
- Removed clientUserAgent from DirectContext.create() call in indexer.ts
- Removed clientUserAgent from DirectContext.import() calls in indexer.ts and search-client.ts
- Removed clientUserAgent from AugmentLanguageModel config in cli-agent.ts
The clientUserAgent is still stored in SearchClient and Indexer for future use,
but is not passed to APIs that don't support it.1 parent 81b4dbf commit c932344
3 files changed
+0
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | 195 | | |
197 | 196 | | |
198 | 197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | 172 | | |
174 | 173 | | |
175 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
| |||
262 | 261 | | |
263 | 262 | | |
264 | 263 | | |
265 | | - | |
266 | 264 | | |
267 | 265 | | |
268 | 266 | | |
| |||
0 commit comments