From 5b6608ad844f89954b9107ad81b3791fae02607a Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Fri, 11 Jul 2025 16:52:56 -0700 Subject: feat(cli): add support for --prompt-interactive/-i flag (#1743) --- packages/core/src/core/client.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/core/src') diff --git a/packages/core/src/core/client.ts b/packages/core/src/core/client.ts index 747b9165..ed903788 100644 --- a/packages/core/src/core/client.ts +++ b/packages/core/src/core/client.ts @@ -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(); } -- cgit v1.2.3