mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-10 10:00:53 -07:00
fix(plan): after exiting plan mode switches model to a flash model (#23885)
This commit is contained in:
@@ -2413,6 +2413,7 @@ export class Config implements McpContext, AgentLoopContext {
|
||||
|
||||
if (isPlanModeTransition || isYoloModeTransition) {
|
||||
if (this._geminiClient?.isInitialized()) {
|
||||
this._geminiClient.clearCurrentSequenceModel();
|
||||
this._geminiClient.setTools().catch((err) => {
|
||||
debugLogger.error('Failed to update tools', err);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user