Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
readline: drop not use min function (#2134)
Meng Zhuo069184562b35
diff --git a/readline/buffer.go b/readline/buffer.goindex 0ce6bb7a2..7ccb1916d 100644--- a/readline/buffer.go+++ b/readline/buffer.go@@ -133,13 +133,6 @@ func (b *Buffer) Size() int {return b.Buf.Size()}-func min(n, m int) int {- if n > m {- return m- }- return n-}-func (b *Buffer) Add(r rune) {if b.Pos == b.Buf.Size() {fmt.Printf("%c", r)