UNPKG

@assistant-ui/react

Version:

Typescript/React library for AI Chat

9 lines 592 B
import { ChatModelAdapter, ChatModelRunOptions } from "../local/ChatModelAdapter"; import { CreateEdgeRuntimeAPIOptions } from "../edge/createEdgeRuntimeAPI"; export type DangerousInBrowserAdapterOptions = CreateEdgeRuntimeAPIOptions; export declare class DangerousInBrowserAdapter implements ChatModelAdapter { private options; constructor(options: DangerousInBrowserAdapterOptions); run({ messages, abortSignal, context }: ChatModelRunOptions): AsyncGenerator<import("assistant-stream").AssistantMessage, void, unknown>; } //# sourceMappingURL=DangerousInBrowserAdapter.d.ts.map