ListModelsResult
Defined in: packages/ai.matey.types/src/models.ts:166
Result of listing models from a backend.
Includes the models plus metadata about where they came from and when they were fetched.
Properties
Section titled “Properties”fetchedAt
Section titled “fetchedAt”
readonlyfetchedAt:number
Defined in: packages/ai.matey.types/src/models.ts:184
Timestamp when this list was fetched (Unix milliseconds). Used for cache invalidation.
isComplete
Section titled “isComplete”
readonlyisComplete:boolean
Defined in: packages/ai.matey.types/src/models.ts:190
Whether this list is complete or partial. Partial lists may occur with filters or pagination.
models
Section titled “models”
readonlymodels: readonlyAIModel[]
Defined in: packages/ai.matey.types/src/models.ts:170
Available models from this backend.
source
Section titled “source”
readonlysource:"remote"|"static"|"cache"
Defined in: packages/ai.matey.types/src/models.ts:178
Source of the model list.
- remote: Fetched from provider API
- static: From configuration or hardcoded list
- cache: From cached previous fetch