Function: resolveDefaultModelId()
resolveDefaultModelId(
config,endpoints,overrides?):string
Resolve an agent’s unpinned default against an already-loaded live catalogue.
With no configured id/class/fallback, the generic model ranker selects the highest-ranked currently available GPT, then falls back to the highest-ranked live chat endpoint when the workspace has no GPT.
Parameters
Section titled “Parameters”config
Section titled “config”endpoints
Section titled “endpoints”readonly object[]
overrides?
Section titled “overrides?”BuildModelOverrides = {}
Returns
Section titled “Returns”string