From 6a5b04210c4610375bc54081d66ea213db781675 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 17 Aug 2025 08:55:30 +0300 Subject: cli: add leading newline before stats on stderr for hexai output --- cmd/hexai/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd') 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) } -- cgit v1.2.3