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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
credential |
Pick<Credential, "accessToken" | "chatgptAccountId"> |
options |
ChatGPTModelsOptions |
Returns
Section titled “Returns”Promise<ChatGPTModel[]>