@assistant-ui/react
Version:
Typescript/React library for AI Chat
5 lines • 506 B
TypeScript
import { Tool } from "../../../model-context/ModelContextTypes";
import { AssistantMessage, ToolExecutionStream } from "assistant-stream";
export declare function unstable_runPendingTools(message: AssistantMessage, tools: Record<string, Tool<any, any>> | undefined, abortSignal: AbortSignal): Promise<AssistantMessage>;
export declare function toolResultStream(tools: Record<string, Tool<any, any>> | undefined, abortSignal: AbortSignal): ToolExecutionStream;
//# sourceMappingURL=toolResultStream.d.ts.map