fix(cli): correctly handle tool invocation cancellation (#844)

This commit is contained in:
N. Taylor Mullen
2025-06-08 11:14:45 -07:00
committed by GitHub
parent 9efca40dae
commit 241c404573
6 changed files with 156 additions and 4 deletions

View File

@@ -58,6 +58,11 @@ export class GeminiClient {
this.chat = this.startChat();
}
async addHistory(content: Content) {
const chat = await this.chat;
chat.addHistory(content);
}
getChat(): Promise<GeminiChat> {
return this.chat;
}