Preserve cache settings in repair conversation replay

This commit is contained in:
2026-11-11 12:26:27 +00:00
parent 8267eba6a5
commit 45b42a2689
4 changed files with 37 additions and 12 deletions

View File

@@ -81,8 +81,14 @@ type PreparedSnapshot struct {
}
type Message struct {
Role string `json:"role"`
Content string `json:"content"`
Role string `json:"role"`
Content string `json:"content"`
CacheControl *CacheControl `json:"cache_control,omitempty"`
}
type CacheControl struct {
Type string `json:"type"`
TTL string `json:"ttl,omitempty"`
}
// CallRecord brackets one logical operation, including preparation. Content