Skip to content

listChatGPTModels

function listChatGPTModels(credential, options?): Promise<ChatGPTModel[]>;

Defined in: core/src/auth/chatgpt-models.ts:25

Fetch the account’s live model list. Never probes completions or falls back to static ids.

Parameter Type
credential Pick<Credential, "accessToken" | "chatgptAccountId">
options ChatGPTModelsOptions

Promise<ChatGPTModel[]>