Skip to main content

Interface: ModelInfo

Defined in: packages/core/src/providers/list-models.ts:31

A model advertised by a provider's listing endpoint.

Properties

host?

optional host?: "local" | "cloud"

Defined in: packages/core/src/providers/list-models.ts:41

Where the model is hosted. Defaults to 'local' when local is true, and 'cloud' when it is from a remote catalog.


id

id: string

Defined in: packages/core/src/providers/list-models.ts:33

Provider-native model id, usable directly as a Baleybots model string.


local?

optional local?: boolean

Defined in: packages/core/src/providers/list-models.ts:39

True for locally-served models (local Ollama).


name

name: string

Defined in: packages/core/src/providers/list-models.ts:35

Human-friendly name when the provider supplies one; falls back to id.


provider

provider: keyof ProviderRegistry

Defined in: packages/core/src/providers/list-models.ts:37

Which provider advertises this model.