From 2c02b9189bff64cf5af7245525881b9b00726c0f Mon Sep 17 00:00:00 2001 From: dal Date: Thu, 24 Jul 2025 10:16:19 -0600 Subject: [PATCH] fix the 1 hr ttl --- packages/ai/src/steps/analyst-step.ts | 2 +- packages/ai/src/steps/think-and-prep-step.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ai/src/steps/analyst-step.ts b/packages/ai/src/steps/analyst-step.ts index 84a65d871..549817b4f 100644 --- a/packages/ai/src/steps/analyst-step.ts +++ b/packages/ai/src/steps/analyst-step.ts @@ -59,7 +59,7 @@ const outputSchema = z.object({ }); const DEFAULT_CACHE_OPTIONS = { - anthropic: { cacheControl: { type: 'ephemeral', ttl: '1hr' } }, + anthropic: { cacheControl: { type: 'ephemeral', ttl: '1h' } }, }; /** diff --git a/packages/ai/src/steps/think-and-prep-step.ts b/packages/ai/src/steps/think-and-prep-step.ts index 8e81478c9..8b8d112ce 100644 --- a/packages/ai/src/steps/think-and-prep-step.ts +++ b/packages/ai/src/steps/think-and-prep-step.ts @@ -64,7 +64,7 @@ type BusterChatMessageResponse = z.infer const outputSchema = ThinkAndPrepOutputSchema; const DEFAULT_CACHE_OPTIONS = { - anthropic: { cacheControl: { type: 'ephemeral', ttl: '1hr' } }, + anthropic: { cacheControl: { type: 'ephemeral', ttl: '1h' } }, }; // Helper function to create the result object