Skip to content

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

add multi line strings to final prompt

Jeffrey Morgan01c44d687eca
diff --git a/cmd/cmd.go b/cmd/cmd.go
index 92ae058c7..6c2bb0b51 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -581,6 +581,7 @@ func generateInteractive(cmd *cobra.Command, model string) error {
isMultiLine = false
painter.HideHint = false
multiLineBuffer += strings.TrimSuffix(line, `"""`)
+ line = multiLineBuffer
multiLineBuffer = ""
scanner.SetPrompt(">>> ")
} else {