agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
20 lines (19 loc) • 1.09 kB
TypeScript
/** Explicit Converse caching facts, verified 2026-10-19 against AWS's model table.
* Unknown model IDs, custom aliases and ARNs are intentionally unsupported.
* https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html
* Only this table owns model support; never infer it from a family prefix.
* Profiles were checked against model-card Programmatic access lists. Rows
* with no verified profiles accept only the listed base ID. Capability does
* not promise endpoint/region/account availability (some base IDs require a
* profile at runtime). Nova's published minimum is literally '1K'.
*/
export interface BedrockCacheFacts {
readonly minimumTokens: number | '1K';
readonly maxBreakpoints: number;
readonly tools: boolean;
readonly longTtl: boolean;
readonly profiles: readonly string[];
}
export declare const BEDROCK_CACHE_MODELS: Readonly<Record<string, BedrockCacheFacts>>;
/** Match one exact foundation ID or a documented geography profile for it. */
export declare function bedrockCacheFacts(model: string): BedrockCacheFacts | undefined;