Skip to content

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

cmd: add support for escaping ~ in filepath (#10339)

greengrass82108065216425b
diff --git a/cmd/interactive.go b/cmd/interactive.go
index d85510d45..82a3bfcbe 100644
--- a/cmd/interactive.go
+++ b/cmd/interactive.go
@@ -503,6 +503,7 @@ func normalizeFilePath(fp string) string {
"\\\\", "\\", // Escaped backslash
"\\*", "*", // Escaped asterisk
"\\?", "?", // Escaped question mark
+ "\\~", "~", // Escaped tilde
).Replace(fp)
}