feat(cli): add support for --prompt-interactive/-i flag (#1743)

This commit is contained in:
Daniel Lee
2025-07-11 16:52:56 -07:00
committed by GitHub
parent 5b5f496436
commit 5b6608ad84
6 changed files with 331 additions and 46 deletions

View File

@@ -134,6 +134,10 @@ export class GeminiClient {
return this.chat;
}
isInitialized(): boolean {
return this.chat !== undefined && this.contentGenerator !== undefined;
}
getHistory(): Content[] {
return this.getChat().getHistory();
}