Commit 34559a3
authored
Fix stale models when using Bedrock (#10803)
Address #10763
If Bedrock is the only provider, there won't be any default models. This
causes unexpected behaviour and falling back on the model cache would
show unavailable models.
### Release Notes
#### New Features
- N/A
#### Bug Fixes
- Fix stale Assistant model listing when Bedrock is the only registered
provider
### QA Notes
Bedrock should be the only provider registered. I don't think Copilot
has to be registered and unregistered first. Having Bedrock and only
Bedrock is what causes a no default model situation, which causes no
models to be shown or a stale model list.1 parent b5b809e commit 34559a3
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
849 | | - | |
| 849 | + | |
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
| |||
1410 | 1410 | | |
1411 | 1411 | | |
1412 | 1412 | | |
1413 | | - | |
| 1413 | + | |
1414 | 1414 | | |
1415 | 1415 | | |
1416 | 1416 | | |
| |||
1467 | 1467 | | |
1468 | 1468 | | |
1469 | 1469 | | |
1470 | | - | |
| 1470 | + | |
1471 | 1471 | | |
1472 | 1472 | | |
1473 | 1473 | | |
| |||
0 commit comments