UNPKG

@assistant-ui/react

Version:

React components for AI chat.

9 lines 546 B
import type { ChatModelAdapter } from "./ChatModelAdapter"; import { LocalRuntimeCore } from "./LocalRuntimeCore"; import { LocalRuntimeOptions } from "./LocalRuntimeOptions"; import { AssistantRuntime } from "../../api/AssistantRuntime"; export type LocalRuntime = AssistantRuntime & { reset: (options?: Parameters<LocalRuntimeCore["reset"]>[0]) => void; }; export declare const useLocalRuntime: (adapter: ChatModelAdapter, { initialMessages, ...options }?: LocalRuntimeOptions) => LocalRuntime; //# sourceMappingURL=useLocalRuntime.d.ts.map