From 0a59fc5439c4e3886c525315503ee78b95267f99 Mon Sep 17 00:00:00 2001 From: Li Xin Date: Wed, 30 Apr 2025 10:04:48 +0800 Subject: [PATCH] fix: fix inheritance --- web/src/core/api/types.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/core/api/types.ts b/web/src/core/api/types.ts index d4bd161..5386a45 100644 --- a/web/src/core/api/types.ts +++ b/web/src/core/api/types.ts @@ -2,7 +2,6 @@ // SPDX-License-Identifier: MIT import type { Option } from "../messages"; -import type { StreamEvent } from "../sse"; // Tool Calls @@ -23,7 +22,7 @@ export interface ToolCallChunk { // Events -interface GenericEvent extends StreamEvent { +interface GenericEvent { type: T; data: { id: string;