Token-Optimierung: Prompt Caching + Tool-Result-Truncation in History

This commit is contained in:
Meleki committed 2026-02-28 16:21:08 +01:00
1 parent ec5917ef63
commit f74409dd89
12 files changed
+220 -59

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ public class ChainRecord
public string SystemPrompt { get; set; }
public long InputTokens { get; set; }
public long OutputTokens { get; set; }
public long CacheCreationTokens { get; set; }
public long CacheReadTokens { get; set; }
public int Iterations { get; set; }
public string StopReason { get; set; }
public long DurationMs { get; set; }