diff --git a/internal/skillscript/yaegi_test.go b/internal/skillscript/yaegi_test.go index fc56c45d6..262dfe3e2 100644 --- a/internal/skillscript/yaegi_test.go +++ b/internal/skillscript/yaegi_test.go @@ -45,7 +45,7 @@ import ( func main() { ctx := context.Background() - out, _ := exec.CommandContext(ctx, "sh", "-c", "echo", "wrapped").CombinedOutput() + out, _ := exec.CommandContext(ctx, "sh", "-c", "echo wrapped").CombinedOutput() fmt.Print(string(out)) } `) diff --git a/internal/workflow/agent.go b/internal/workflow/agent.go index e5b8444d3..ebf1c6df7 100644 --- a/internal/workflow/agent.go +++ b/internal/workflow/agent.go @@ -171,7 +171,7 @@ func (a AgentStage) Stage() Stage { tc.Task.TokensUsed += res.TokensUsed tc.Task.Iterations += res.Iterations tc.Emit("agent_finish", a.Name, res.Summary, map[string]any{ - "status": string(res.Status), "stop_reason": res.StopReason, + "status": res.Status, "stop_reason": res.StopReason, "tokens": res.TokensUsed, "iterations": res.Iterations, "model": modelRef, })