continue icon indicating copy to clipboard operation
continue copied to clipboard

Customize Terminal Tool by Platform

Open chezsmithy opened this issue 6 months ago • 2 comments

Validations

  • [x] I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • [x] I'm not able to find an open issue that requests the same enhancement

Problem

Today the terminal tool will suggest commands, techniques and formatting that is not well optimized for the platform where the extension is running. For example, its possible that as suggestions the LLM will suggest using commands generally available on Unix when you are running the extension on windows. There may also be instances where suggested commands don't align with MacOS. Another instance I have noted is suggesting how to kill background processes on windows where it may not be possible without elevated permissions.

Solution

I'd like to customize the system prompt used by continue so that it's aware of the OS and default shell where the extension is running and then attempt to customize the suggested terminal commands and the formatting of those terminal commands to optimize for the OS.

For example on Linux we might target bash, on macOS Zsh and on windows powershell.

chezsmithy avatar Apr 24 '25 22:04 chezsmithy