diff options
| author | Taylor Mullen <[email protected]> | 2025-04-18 18:08:43 -0400 |
|---|---|---|
| committer | N. Taylor Mullen <[email protected]> | 2025-04-18 18:10:57 -0400 |
| commit | 383b9177848eeefb8c123a7a7ecc0ee391380eea (patch) | |
| tree | 4b1e06d5e74500ad81a61f9442581648063f86c0 /packages/cli/src/core/gemini-stream.ts | |
| parent | fa264e42863474a809d06ef569f7ad5388d48072 (diff) | |
Run `npm run format`
- This has the entirety of the changes.
Part of https://b.corp.google.com/issues/411720532
Diffstat (limited to 'packages/cli/src/core/gemini-stream.ts')
| -rw-r--r-- | packages/cli/src/core/gemini-stream.ts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/cli/src/core/gemini-stream.ts b/packages/cli/src/core/gemini-stream.ts index 70361f10..0e3ca025 100644 --- a/packages/cli/src/core/gemini-stream.ts +++ b/packages/cli/src/core/gemini-stream.ts @@ -1,4 +1,4 @@ -import { ToolCallEvent , HistoryItem } from '../ui/types.js'; +import { ToolCallEvent, HistoryItem } from '../ui/types.js'; import { Part } from '@google/genai'; import { handleToolCallChunk, @@ -161,7 +161,11 @@ export const processGeminiStream = async ({ renderTimeoutId = null; } // Delegate history update for error message - addErrorMessageToHistory(error as (Error | DOMException), setHistory, getNextMessageId); + addErrorMessageToHistory( + error as Error | DOMException, + setHistory, + getNextMessageId, + ); } finally { isStreamComplete = true; // Signal stream end for render loop completion if (renderTimeoutId) { |
