diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-17 08:55:30 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-17 08:55:30 +0300 |
| commit | 6a5b04210c4610375bc54081d66ea213db781675 (patch) | |
| tree | 9cea0b3669462a29ebdf1458a48a41d988a683b1 /cmd | |
| parent | a61f40a4221c1586d801308da9ae1869fb6bdbb6 (diff) | |
cli: add leading newline before stats on stderr for hexai output
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/hexai/main.go | 4 |
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) } |
