mirror of
https://github.com/anomalyco/opencode.git
synced 2026-09-01 05:24:30 +00:00
fix(ai): validate cache tail counts (#46067)
This commit is contained in:
parent
6b1ed3918a
commit
56e773831c
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ export const CachePolicyObject = Schema.Struct({
|
|||
Schema.Union([
|
||||
Schema.Literal("latest-user-message"),
|
||||
Schema.Literal("latest-assistant"),
|
||||
Schema.Struct({ tail: Schema.Number }),
|
||||
Schema.Struct({ tail: Schema.Natural }),
|
||||
]),
|
||||
),
|
||||
ttlSeconds: Schema.optional(Schema.Number),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue