call-ai
Version:
Lightweight library for making AI API calls with streaming support
10 lines (9 loc) • 418 B
TypeScript
import { ProcessedSchema } from "./types.js";
export declare function recursivelyAddAdditionalProperties(schema: ProcessedSchema): ProcessedSchema;
export declare function entriesHeaders(headers: Headers): [string, string][];
export declare function callAiFetch(options: {
mock?: {
fetch?: typeof fetch;
};
}): typeof fetch;
export declare function joinUrlParts(baseUrl: string, path: string): string;