mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 16:57:46 +00:00
Remove gemini-stream.ts (#84)
This module is no longer needed and the types can be provided from types.
This commit is contained in:
@@ -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 = (
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user