Skip to content

armgit / ax

Public Imported from GitHub
0

Agent Executor (AX) is Google's open agentic orchestration runtime

Go

Always append two new lines after filesystem outputs (#51)

Jaana Dogane6324d8cf96b
diff --git a/internal/controller/gemini.go b/internal/controller/gemini.go
index 50fa286..ff44217 100644
--- a/internal/controller/gemini.go
+++ b/internal/controller/gemini.go
@@ -304,7 +304,7 @@ func (f *filesystemTool) executeShellCommand(args map[string]any) (string, error
return fmt.Sprintf("Error: %v\nOutput: %s", err, output), nil
}
- result := strings.TrimSpace(string(output))
+ result := strings.TrimSpace(string(output)) + "\n\n"
if result == "" {
return "Command executed successfully (no output)", nil
}