Run npm run format

- This has the entirety of the changes.

Part of https://b.corp.google.com/issues/411720532
This commit is contained in:
Taylor Mullen
2025-04-18 18:08:43 -04:00
committed by N. Taylor Mullen
parent fa264e4286
commit 383b917784
26 changed files with 211 additions and 208 deletions
-1
View File
@@ -21,7 +21,6 @@ import { getFolderStructure } from '../utils/getFolderStructure.js';
import { GeminiEventType, GeminiStream } from './gemini-stream.js';
import { Config } from '../config/config.js';
type ToolExecutionOutcome = {
callId: string;
name: string;
+6 -2
View File
@@ -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) {