fixy
This commit is contained in:
1 parent
1e7c7bbfbb
commit
feebf7d3c1
12 files changed
+248
-70
No files matched your search
@@ -74,3 +74,11 @@ func TestClamp_boundsBody(t *testing.T) {
|
||||
t.Fatal("clamped body must say it was truncated")
|
||||
}
|
||||
}
|
||||
|
||||
func TestCallCapturePersistsCostAndCachedTokens(t *testing.T) {
|
||||
for _, name := range []string{"cached_prompt_tokens", "cost_micros"} {
|
||||
if !strings.Contains(insertCallSQL, name) {
|
||||
t.Fatalf("missing AI call capture field %s", name)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user