Files
oh-my-opencode/dist/shared/context-limit-resolver.d.ts
T

6 lines
288 B
TypeScript
Raw Normal View History

export type ContextLimitModelCacheState = {
anthropicContext1MEnabled: boolean;
modelContextLimitsCache?: Map<string, number>;
};
export declare function resolveActualContextLimit(providerID: string, modelID: string, modelCacheState?: ContextLimitModelCacheState): number | null;