Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Revert "stop running model on interactive exit"

Bruce MacDonald658e60cf7331
diff --git a/cmd/interactive.go b/cmd/interactive.go
index 4eb2c2b8e..12c31052f 100644
--- a/cmd/interactive.go
+++ b/cmd/interactive.go
@@ -475,14 +475,6 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {
usage()
}
case strings.HasPrefix(line, "/exit"), strings.HasPrefix(line, "/bye"):
- // stop the running model
- client, err := api.ClientFromEnvironment()
- if err != nil {
- return err
- }
- client.Chat(cmd.Context(), &api.ChatRequest{Model: opts.Model, KeepAlive: &api.Duration{}}, func(resp api.ChatResponse) error {
- return nil
- })
return nil
case strings.HasPrefix(line, "/"):
args := strings.Fields(line)