ChatGPTModelsOptions
Defined in: core/src/auth/chatgpt-models.ts:16
Extends
Section titled “Extends”Pick<AuthHost,"fetchImpl"|"timeoutMs">
Properties
Section titled “Properties”baseUrl?
Section titled “baseUrl?”optional baseUrl?: string;Defined in: core/src/auth/chatgpt-models.ts:18
The Codex API root. Defaults to the ChatGPT preset’s base URL.
clientVersion?
Section titled “clientVersion?”optional clientVersion?: string;Defined in: core/src/auth/chatgpt-models.ts:20
The caller’s version. Defaults to Codex’s development version, 0.0.0.
fetchImpl?
Section titled “fetchImpl?”optional fetchImpl?: (input, init?) => Promise<Response>;Defined in: core/src/auth/oauth.ts:27
Replaces fetch, for tests.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
input |
RequestInfo | URL |
init? |
RequestInit |
Returns
Section titled “Returns”Promise<Response>
Inherited from
Section titled “Inherited from”signal?
Section titled “signal?”optional signal?: AbortSignal;Defined in: core/src/auth/chatgpt-models.ts:21
timeoutMs?
Section titled “timeoutMs?”optional timeoutMs?: number;Defined in: core/src/auth/oauth.ts:29
How long one request to a sign-in server may take, in ms. Default 30 s.