Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CommonRequestOptions

interface CommonRequestOptions {
abortSignal?: AbortSignal;
apiKey?: string;
baseURL: string | URL;
fetch?: Fetch | globalThis.fetch;
headers?: Headers | Record<string, string>;
model: string;
}

§Properties

§
abortSignal?: AbortSignal
[src]
§
apiKey?: string
[src]
§
baseURL: string | URL
[src]
@example
`https://api.openai.com/v1/`
§
fetch?: Fetch | globalThis.fetch
[src]
§
headers?: Headers | Record<string, string>
[src]
§
model: string
[src]
@example
`gpt-4o`