mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-17 21:40:39 -07:00
feat(core): enhanced anchored iterative context compression with self-verification (#15710)
This commit is contained in:
committed by
GitHub
parent
c854ea202b
commit
30e495a8b6
@@ -289,7 +289,11 @@ export class McpClientManager {
|
||||
*/
|
||||
async restart(): Promise<void> {
|
||||
await Promise.all(
|
||||
Array.from(this.clients.entries()).map(async ([name, client]) => {
|
||||
Array.from(this.clients.keys()).map(async (name) => {
|
||||
const client = this.clients.get(name);
|
||||
if (!client) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
await this.maybeDiscoverMcpServer(name, client.getServerConfig());
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user