DeepCode
DeepCode copied to clipboard
[Bug]: CLI spacing buggy, not accepting input
Do you need to file an issue?
- [x] I have searched the existing issues and this bug is not already filed.
- [x] I believe this is a legitimate bug, not just a question or feature request.
Describe the bug
I installed DeepCode from github and tried to run it, however I cannot get it to do anything. There's two issues here and I think they might be related because they both involve the terminal:
-
The spacing on the interface is all off by a few characters here and there, see the screenshot.
-
The input line just says
[1m[1m[1m[96m> Your choice: [1m[0mand nothing I type does anything (except ^C, of course).
I've tried this with gnome terminal and kitty, and with TERM=xterm and TERM=xterm-kitty. I'm not sure what other terms to try. I suspect there's some problem with the terminal handling causing both issues.
Steps to reproduce
git clone https://github.com/HKUDS/DeepCode.git
cd DeepCode
uv venv --python=3.13
source .venv/bin/activate
uv pip install -r requirements.txt
vi mcp_agent.secrets.yaml # put in your secrets
uv run python cli/main_cli.py
Expected Behavior
I expected to be able to use the application, ie type characters shown on the main menu.
DeepCode Config Used
I'm using the one that came with the repo:
https://github.com/HKUDS/DeepCode/blob/67af268188255eda1e35e629d8baae8e56214157/mcp_agent.config.yaml
Logs and screenshots
Additional Information
- DeepCode Version: Commit 67af268188255eda1e35e629d8baae8e56214157
- Operating System: Linux Mint 22.2 Zara (Cinnamon)
- Python Version: 3.13
- Related Issues: