mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 04:24:51 -07:00
revert the change that was recently added from a fix (#16390)
This commit is contained in:
@@ -65,12 +65,9 @@ describe('Flash Model Fallback Configuration', () => {
|
||||
});
|
||||
|
||||
describe('activateFallbackMode', () => {
|
||||
it('should set active model to fallback and log event', () => {
|
||||
it('should set model to fallback and log event', () => {
|
||||
config.activateFallbackMode(DEFAULT_GEMINI_FLASH_MODEL);
|
||||
expect(config.getActiveModel()).toBe(DEFAULT_GEMINI_FLASH_MODEL);
|
||||
// Ensure the persisted model setting is NOT changed (to preserve AUTO behavior)
|
||||
expect(config.getModel()).toBe(DEFAULT_GEMINI_MODEL);
|
||||
|
||||
expect(config.getModel()).toBe(DEFAULT_GEMINI_FLASH_MODEL);
|
||||
expect(logFlashFallback).toHaveBeenCalledWith(
|
||||
config,
|
||||
expect.any(FlashFallbackEvent),
|
||||
|
||||
Reference in New Issue
Block a user