eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
13 lines (12 loc) • 571 B
TypeScript
import type { AgentLimitsDefinition } from "#shared/agent-definition.js";
type TokenLimit = AgentLimitsDefinition["maxInputTokensPerSession"] | AgentLimitsDefinition["maxOutputTokensPerSession"];
/**
* Resolves an authored token cap against an inherited parent cap. `false`
* only means "uncapped" before inheritance; an actual inherited cap still
* bounds the child.
*/
export declare function resolveInheritedTokenLimit(input: {
readonly configured: TokenLimit | undefined;
readonly inherited: TokenLimit | undefined;
}): TokenLimit | undefined;
export {};