Skip to content

Function: resolveServingConfig()

resolveServingConfig(config): object

Read the fuzzy-resolution config knobs off the plugin config with @dbx-tools/model defaults applied. Kept here so buildModel and the /models route agree on what “enabled” means.

fallbacks is the priority-ordered list resolveModel walks first when nothing explicit is set; defaults to an empty list so the generic resolver falls through to the live catalogue and its own FALLBACK_MODEL_IDS floor.

MastraPluginConfig

object

allowOverride: boolean

fallbacks: readonly string[]

fuzzy: boolean

threshold: number

ttlMs: number