Serialize cache-controlled chat messages

This commit is contained in:
2026-07-02 23:05:56 +00:00
parent c95d6fcfec
commit efe346893c
3 changed files with 212 additions and 17 deletions

View File

@@ -237,6 +237,8 @@ type TokenUsage struct {
PromptTokens int
CompletionTokens int
TotalTokens int
CachedTokens int
CacheWriteTokens int
}
// ValidationResult represents the outcome of an output validation.