Replies: 1 comment 1 reply
-
|
crush does not execute commands directly. Instead, it uses the mvdan/sh package to run POSIX-compliant commands in a special shell (gosh). I don't know why they chose this, but LLMs do not access the shell directly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use Crush from PowerShell on Windows and I have absolutely no intention of installing BSD/GNU utils. I want to rely solely on Windows' and PowerShell's built-in commands for functions equivalent to Bash commands and BSD/GNU utils. Right now, Crush doesn't seem to tell the LLMs about my environment, so the LLMs default to building command lines for Bash and GNU utils. This of course means lots of unnecessary errors.
Where can I configure the system prompt that Crush sends to LLMs so I can tell the LLMs that I'm on Windows with PowerShell?
Beta Was this translation helpful? Give feedback.
All reactions