Files
oh-my-opencode/dist/shared/context-limit-resolver.d.ts
T
2026-03-14 04:56:50 +00:00

6 lines
288 B
TypeScript

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