mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-22 02:54:31 -07:00
feat(core, ui): Add /agents refresh command. (#16204)
This commit is contained in:
@@ -104,6 +104,15 @@ export class A2AClientManager {
|
||||
return agentCard;
|
||||
}
|
||||
|
||||
/**
|
||||
* Invalidates all cached clients and agent cards.
|
||||
*/
|
||||
clearCache(): void {
|
||||
this.clients.clear();
|
||||
this.agentCards.clear();
|
||||
debugLogger.debug('[A2AClientManager] Cache cleared.');
|
||||
}
|
||||
|
||||
/**
|
||||
* Sends a message to a loaded agent.
|
||||
* @param agentName The name of the agent to send the message to.
|
||||
|
||||
Reference in New Issue
Block a user