mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 22:02:59 -07:00
fix(core): ensure stable admin settings comparison across IPC to prevent restart loop (#27066)
This commit is contained in:
@@ -87,7 +87,9 @@ export function sanitizeAdminSettings(
|
||||
mcpSetting: {
|
||||
mcpEnabled: sanitized.mcpSetting?.mcpEnabled ?? false,
|
||||
mcpConfig: mcpConfig ?? {},
|
||||
requiredMcpConfig: mcpConfig?.requiredMcpServers,
|
||||
...(mcpConfig?.requiredMcpServers && {
|
||||
requiredMcpConfig: mcpConfig.requiredMcpServers,
|
||||
}),
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user