Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
dont crash when redirecting stderr
Jeffrey Morgane6ad4813d3ae
diff --git a/progress/bar.go b/progress/bar.goindex a8383f5cd..f5a2622ad 100644--- a/progress/bar.go+++ b/progress/bar.go@@ -37,7 +37,7 @@ func NewBar(message string, maxValue, initialValue int64) *Bar {func (b *Bar) String() string {termWidth, _, err := term.GetSize(int(os.Stderr.Fd()))if err != nil {- panic(err)+ termWidth = 80}var pre, mid, suf strings.Builder