mirror of https://github.com/buster-so/buster.git
fix the 1 hr ttl
This commit is contained in:
parent
ed77fb4409
commit
2c02b9189b
|
@ -59,7 +59,7 @@ const outputSchema = z.object({
|
||||||
});
|
});
|
||||||
|
|
||||||
const DEFAULT_CACHE_OPTIONS = {
|
const DEFAULT_CACHE_OPTIONS = {
|
||||||
anthropic: { cacheControl: { type: 'ephemeral', ttl: '1hr' } },
|
anthropic: { cacheControl: { type: 'ephemeral', ttl: '1h' } },
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -64,7 +64,7 @@ type BusterChatMessageResponse = z.infer<typeof BusterChatMessageResponseSchema>
|
||||||
const outputSchema = ThinkAndPrepOutputSchema;
|
const outputSchema = ThinkAndPrepOutputSchema;
|
||||||
|
|
||||||
const DEFAULT_CACHE_OPTIONS = {
|
const DEFAULT_CACHE_OPTIONS = {
|
||||||
anthropic: { cacheControl: { type: 'ephemeral', ttl: '1hr' } },
|
anthropic: { cacheControl: { type: 'ephemeral', ttl: '1h' } },
|
||||||
};
|
};
|
||||||
|
|
||||||
// Helper function to create the result object
|
// Helper function to create the result object
|
||||||
|
|
Loading…
Reference in New Issue