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

@@ -6,7 +6,7 @@
import React, { useState, useMemo } from 'react';
import { Box, Text } from 'ink';
import type { HistoryItem } from './types.js';
import { StreamingState, type HistoryItem } from './types.js';
import { useGeminiStream } from './hooks/useGeminiStream.js';
import { useLoadingIndicator } from './hooks/useLoadingIndicator.js';
import { useInputHistory } from './hooks/useInputHistory.js';
@@ -15,7 +15,6 @@ import { HistoryDisplay } from './components/HistoryDisplay.js';
import { LoadingIndicator } from './components/LoadingIndicator.js';
import { InputPrompt } from './components/InputPrompt.js';
import { Footer } from './components/Footer.js';
import { StreamingState } from '../core/gemini-stream.js';
import { ITermDetectionWarning } from './utils/itermDetection.js';
import {
useStartupWarnings,