Remove gemini-stream.ts (#84)

This module is no longer needed and the types can be provided from types.
This commit is contained in:
Jaana Dogan
2025-04-21 11:49:46 -07:00
committed by GitHub
parent 738c2692fb
commit 651a543403
5 changed files with 17 additions and 23 deletions

View File

@@ -30,11 +30,11 @@ import {
type Part,
} from '@google/genai';
import {
StreamingState,
HistoryItem,
IndividualToolCallDisplay,
ToolCallStatus,
} from '../types.js';
import { StreamingState } from '../../core/gemini-stream.js';
import { toolRegistry } from '../../tools/tool-registry.js';
const addHistoryItem = (

View File

@@ -9,7 +9,7 @@ import {
WITTY_LOADING_PHRASES,
PHRASE_CHANGE_INTERVAL_MS,
} from '../constants.js';
import { StreamingState } from '../../core/gemini-stream.js';
import { StreamingState } from '../types.js';
export const useLoadingIndicator = (streamingState: StreamingState) => {
const [elapsedTime, setElapsedTime] = useState(0);