diff --git a/src/types/prompts.ts b/src/types/prompts.ts deleted file mode 100644 index d1369e6..0000000 --- a/src/types/prompts.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Types for Anthropic prompt caching - * https://docs.claude.com/en/docs/build-with-claude/prompt-caching - */ - -export type CacheControl = { type: 'ephemeral' }; - -export interface CacheableBlock { - type: 'text'; - text: string; - cache_control?: CacheControl; -} - -export interface SystemPromptResult { - blocks: CacheableBlock[]; - cacheHit: boolean; -} - -export interface CacheStats { - cacheCreationInputTokens: number; - cacheReadInputTokens: number; - inputTokens: number; - outputTokens: number; - savingsPercentage: number; -}