import { type RequestOptions } from "https://deno.land/x/openai@v4.24.3/core.ts";
Type Parameters
optional
Req = unknown | Record<string, unknown> | Readabledefinition: { method?: HTTPMethod; path?: string; query?: Req | undefined; body?: Req | undefined; headers?: Headers | undefined; maxRetries?: number; stream?: boolean | undefined; timeout?: number; httpAgent?: Agent; signal?: AbortSignal | undefined | null; idempotencyKey?: string; __binaryResponse?: boolean | undefined; }