listModels
listModels(
providerId,options?):Promise<ModelInfo[]>
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/providers/modelDiscovery.ts:639
List the models for a single provider.
Live-discovers from the provider’s models endpoint where possible (with a
curated fallback); returns the curated set for kind: 'none' providers. Does
not require the provider to be “available”.
options.timeoutMs (CFG-21) overrides the default short live-fetch timeout; the
bare listModels(providerId) call is unchanged.
Parameters
Section titled “Parameters”providerId
Section titled “providerId”options?
Section titled “options?”Returns
Section titled “Returns”Promise<ModelInfo[]>