import { type RequestOptions } from "https://deno.land/x/openai@v4.20.0/core.ts";
Type Parameters
optional
Req extends { } = 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; }