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
-19
View File
@@ -1,19 +0,0 @@
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
// Only defining the state enum needed by the UI
export enum StreamingState {
Idle = 'idle',
Responding = 'responding',
WaitingForConfirmation = 'waiting_for_confirmation',
}
// Copied from server/src/core/turn.ts for CLI usage
export enum GeminiEventType {
Content = 'content',
ToolCallRequest = 'tool_call_request',
// Add other event types if the UI hook needs to handle them
}