@assistant-ui/react
Version:
React components for AI chat.
9 lines • 579 B
TypeScript
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, config }: ChatModelRunOptions): AsyncGenerator<import("..").ChatModelRunResult, void, unknown>;
}
//# sourceMappingURL=DangerousInBrowserAdapter.d.ts.map