mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 02:24:09 -07:00
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:
committed by
N. Taylor Mullen
parent
fa264e4286
commit
383b917784
@@ -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;
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user