mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-14 16:10:59 -07:00
feat(core): implement towards policy-driven model fallback mechanism (#13781)
This commit is contained in:
@@ -64,7 +64,7 @@ describe('ModelAvailabilityService', () => {
|
||||
healthyModel,
|
||||
]);
|
||||
expect(first).toEqual({
|
||||
selected: stickyModel,
|
||||
selectedModel: stickyModel,
|
||||
attempts: 1,
|
||||
skipped: [
|
||||
{
|
||||
@@ -81,7 +81,7 @@ describe('ModelAvailabilityService', () => {
|
||||
healthyModel,
|
||||
]);
|
||||
expect(second).toEqual({
|
||||
selected: healthyModel,
|
||||
selectedModel: healthyModel,
|
||||
skipped: [
|
||||
{
|
||||
model,
|
||||
@@ -101,7 +101,7 @@ describe('ModelAvailabilityService', () => {
|
||||
healthyModel,
|
||||
]);
|
||||
expect(third).toEqual({
|
||||
selected: stickyModel,
|
||||
selectedModel: stickyModel,
|
||||
attempts: 1,
|
||||
skipped: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user