feat(exec): surface AttemptRecord slice on Result for session logging
This commit is contained in:
@@ -101,7 +101,9 @@ func main() {
|
||||
}
|
||||
attempts := make([]iexec.AttemptRecord, 0, len(chain))
|
||||
orch := iexec.NewOrchestrator(chain, litellmExec.Run, claudeExec.Run, verifier, models.LlamaSwapURL(), &attempts)
|
||||
return orch.Run(ctx, req)
|
||||
result, err := orch.Run(ctx, req)
|
||||
result.Attempts = attempts // attach orchestration metadata before returning
|
||||
return result, err
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user