@assistant-ui/react
Version:
TypeScript/React library for AI Chat
13 lines • 550 B
TypeScript
import { Tool } from "assistant-stream";
import type { JSONSchema7 } from "json-schema";
export declare const toAISDKTools: (tools: Record<string, Tool>) => {
[k: string]: {
parameters: JSONSchema7;
description?: string;
};
};
export declare const getEnabledTools: (tools: Record<string, Tool>) => {
[k: string]: Tool;
};
export declare const createRequestHeaders: (headersValue: Record<string, string> | Headers | (() => Promise<Record<string, string> | Headers>)) => Promise<Headers>;
//# sourceMappingURL=utils.d.ts.map