Files
oh-my-opencode/src/plugin-state.ts
T

12 lines
295 B
TypeScript
Raw Normal View History

export interface ModelCacheState {
modelContextLimitsCache: Map<string, number>;
anthropicContext1MEnabled: boolean;
}
export function createModelCacheState(): ModelCacheState {
return {
modelContextLimitsCache: new Map<string, number>(),
anthropicContext1MEnabled: false,
};
}