3 ms·
Is there any LLM based coding assistant than can read from terminal, thus catching error output?
by pax 3y ago
Is there any LLM based coding assistant than can read from terminal, thus catching error output?
- anotherpaulg 3y agoMy open source tool aider does this. In the chat you can use /run to launch any shell command and return the output to GPT. It’s super helpful for running the code it just changed or related tests and letting GPT figure out how to fix problems. Here are the docs: https://github.com/paul-gauthier/aider#in-chat-commands https://github.com/paul-gauthier/aider#in-chat-commands Here is a chat transcript that shows gpt-4 fixing code after being shown failing test output using the /run command: https://aider.chat/examples/add-test.html https://aider.chat/examples/add-test.html
- sestinj 3y agoWe were actually doing this a couple weeks ago, but due to limitations of VS Code, it was slightly buggy (issues mainly around knowing the terminal window size when setting up a pseudo-terminal). That work still exists here, and we hope to find a solution eventually: https://github.com/continuedev/continue/blob/main/extension/src/terminal/terminalEmulator.ts https://github.com/continuedev/continue/blob/main/extension/...