This commit is contained in:
Oleg Maslov
2026-09-02 10:14:22 +02:00
parent 0c3e2ead3b
commit b20b138fe4
771 changed files with 161561 additions and 9027 deletions

View File

@@ -36,6 +36,7 @@ export interface TraceHandle {
export interface FinalizeOptions {
outcome: TraceOutcome;
output: string;
model?: string | null;
tokens?: { input: number; output: number };
costUsd?: number;
harness?: TracePayload['harness'];
@@ -214,6 +215,7 @@ export class TraceRecorder {
const result = this.store.finalize(handle.id, {
outcome: options.outcome,
output: options.output,
model: options.model,
tokens: options.tokens,
costUsd: options.costUsd,
harness: options.harness,