Commit 8195be9
authored
conversation: allow 'auto' sampling endpoint through LM API (#4240)
* conversation: allow 'auto' sampling endpoint through LM API
- Adds a _getEndpointForModel private method to resolve the endpoint for a
model, with special handling for the AutoChatEndpoint pseudo model. This
ensures the 'auto' endpoint can be properly resolved when accessed through
the Language Model API.
- When the model is the auto endpoint, it uses the automode service to
resolve to the appropriate concrete endpoint from the available options.
Fixes #299336
(Commit message generated by Copilot)
* bump ci1 parent 7524137 commit 8195be9
1 file changed
Lines changed: 10 additions & 2 deletions
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
316 | 324 | | |
317 | 325 | | |
318 | 326 | | |
319 | 327 | | |
320 | 328 | | |
321 | 329 | | |
322 | 330 | | |
323 | | - | |
| 331 | + | |
324 | 332 | | |
325 | 333 | | |
326 | 334 | | |
| |||
336 | 344 | | |
337 | 345 | | |
338 | 346 | | |
339 | | - | |
| 347 | + | |
340 | 348 | | |
341 | 349 | | |
342 | 350 | | |
| |||
0 commit comments