export type VisionCapableModel = { providerID: string modelID: string } export interface ModelCacheState { modelContextLimitsCache: Map; visionCapableModelsCache?: Map; anthropicContext1MEnabled: boolean; } export function createModelCacheState(): ModelCacheState { return { modelContextLimitsCache: new Map(), visionCapableModelsCache: new Map(), anthropicContext1MEnabled: false, }; }