Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
launch/vscode: prefer known vs code paths over `code` on PATH (#15073)
Eva H1adfc27f0441
diff --git a/cmd/launch/vscode.go b/cmd/launch/vscode.goindex e68da2bd8..5f81d53f6 100644--- a/cmd/launch/vscode.go+++ b/cmd/launch/vscode.go@@ -25,11 +25,8 @@ type VSCode struct{}func (v *VSCode) String() string { return "Visual Studio Code" }// findBinary returns the path/command to launch VS Code, or "" if not found.-// It checks for the "code" CLI on PATH first, then falls back to platform-specific locations.+// It checks platform-specific locations only.func (v *VSCode) findBinary() string {- if _, err := exec.LookPath("code"); err == nil {- return "code"- }var candidates []stringswitch runtime.GOOS {case "darwin":