summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-17 08:55:30 +0300
committerPaul Buetow <paul@buetow.org>2025-08-17 08:55:30 +0300
commit6a5b04210c4610375bc54081d66ea213db781675 (patch)
tree9cea0b3669462a29ebdf1458a48a41d988a683b1 /cmd
parenta61f40a4221c1586d801308da9ae1869fb6bdbb6 (diff)
cli: add leading newline before stats on stderr for hexai output
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hexai/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/hexai/main.go b/cmd/hexai/main.go
index ad72439..88fa69b 100644
--- a/cmd/hexai/main.go
+++ b/cmd/hexai/main.go
@@ -84,8 +84,8 @@ func main() {
// Write assistant output to stdout
fmt.Fprint(os.Stdout, out)
- // Summary to stderr
+ // Summary to stderr (preceded by a blank line)
inSize := len(input)
outSize := len(out)
- fmt.Fprintf(os.Stderr, "done provider=%s model=%s time=%s in_bytes=%d out_bytes=%d\n", client.Name(), client.DefaultModel(), dur.Round(time.Millisecond), inSize, outSize)
+ fmt.Fprintf(os.Stderr, "\ndone provider=%s model=%s time=%s in_bytes=%d out_bytes=%d\n", client.Name(), client.DefaultModel(), dur.Round(time.Millisecond), inSize, outSize)
}