Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
ctrl+c on empty line exits (#135)
Michael Yang55b5f5dc345d
diff --git a/cmd/cmd.go b/cmd/cmd.goindex d50608252..944c2aa8d 100644--- a/cmd/cmd.go+++ b/cmd/cmd.go@@ -276,6 +276,10 @@ func generateInteractive(cmd *cobra.Command, model string) error {case errors.Is(err, io.EOF):return nilcase errors.Is(err, readline.ErrInterrupt):+ if line == "" {+ return nil+ }+continuecase err != nil:return err