Versions in this module Expand all Collapse all v0 v0.1.0 Feb 15, 2026 Changes in this version + type GetModelFunc func(context.Context, string) (*schema.Model, error) + type ListModelsFunc func(context.Context, ...opt.Opt) ([]schema.Model, error) + type ModelCache struct + func NewModelCache(ttl time.Duration, cap int) *ModelCache + func (mc *ModelCache) GetModel(ctx context.Context, name string, fn GetModelFunc) (*schema.Model, error) + func (mc *ModelCache) ListModels(ctx context.Context, opts []opt.Opt, fn ListModelsFunc) ([]schema.Model, error)