ai_runs logging, redaction and retention (#60)
CI / ci (push) Successful in 1m34s

Co-authored-by: dev_agent <dev_agent@cubecraftlabs.com>
This commit was merged in pull request #60.
This commit is contained in:
2026-10-05 09:55:06 -04:00
committed by approver_agent
parent 5d5404b3cb
commit 87316d8b70
13 changed files with 1274 additions and 49 deletions
+3 -1
View File
@@ -117,7 +117,9 @@ func TestRunSendsLayeredPrompt(t *testing.T) {
var f llm.Fake
f.QueueGenerate(reply(`{"echo":"taco"}`))
in := echoInput{Word: "Taco", Context: tacoContext}
if _, err := Run(context.Background(), Config{Provider: &f, Persona: persona}, echoSkill{}, in); err != nil {
cfg := testConfig(t, &f)
cfg.Persona = persona
if _, err := Run(context.Background(), cfg, echoSkill{}, in); err != nil {
t.Fatal(err)
}
req := assertCalls(t, &f, 1)[0]