Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
re-add system context (#4435)
Patrick Devinea4b8d1f89a73
diff --git a/cmd/interactive.go b/cmd/interactive.goindex c078650ab..1078590c0 100644--- a/cmd/interactive.go+++ b/cmd/interactive.go@@ -292,6 +292,10 @@ func generateInteractive(cmd *cobra.Command, opts runOptions) error {continuecase strings.HasPrefix(line, "/clear"):opts.Messages = []api.Message{}+ if opts.System != "" {+ newMessage := api.Message{Role: "system", Content: opts.System}+ opts.Messages = append(opts.Messages, newMessage)+ }fmt.Println("Cleared session context")continuecase strings.HasPrefix(line, "/set"):