mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-19 02:20:42 -07:00
chore(core): remove legacy fallback flags and migrate loop detection (#15213)
This commit is contained in:
@@ -472,7 +472,9 @@ export class LoopDetectionService {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.config.isInFallbackMode()) {
|
||||
const availability = this.config.getModelAvailabilityService();
|
||||
|
||||
if (!availability.snapshot(doubleCheckModelName).available) {
|
||||
const flashModelName = this.config.modelConfigService.getResolvedConfig({
|
||||
model: 'loop-detection',
|
||||
}).model;
|
||||
|
||||
Reference in New Issue
Block a user