🏥 Common Issues & Troubleshooting
If you encounter problems with HelseCLI, check this guide first for common solutions.
If you encounter problems with HelseCLI, check this guide first for common solutions.
🔑 Authentication & API Issues
Issue: "Authentication Error" or "401 Unauthorized"
- Cause: Invalid or expired API key.
- Solution: Verify your
.envkeys. Ensure they don't have extra spaces or quotes around them. - Check: Run
python helsecli.py versionto see which keys are detected.
Issue: "Rate Limit Exceeded"
- Cause: You've hit the usage limit for your LLM provider (OpenAI/Anthropic).
- Solution: Wait for the cooldown period or upgrade your API tier. You can also switch to a different provider using
!m.
🐳 Sandbox & Execution Issues
Issue: "Docker not found or daemon not running"
- Solution: Ensure Docker Desktop is open and the status is "Running". On Linux, ensure your user is in the
dockergroup.
Issue: "ModuleNotFoundError" inside the sandbox
- Cause: The code requires a library that isn't installed in the sandbox.
- Solution:
- Tell the AI:
"Install [package] using pip and try again." - Or, add the package to your
requirements.txtand the sandbox will auto-install it on the next run.
- Tell the AI:
Issue: "Timeout Error"
- Cause: A script or shell command took too long to respond.
- Solution: Increase the
HELSE_COMMAND_TIMEOUTin your config or.env(default is 60 seconds).
📄 Document Generation Issues
Issue: "Pandoc not found"
- Cause: You're trying to export to PDF or DOCX without Pandoc installed.
- Solution: Install Pandoc from pandoc.org.
Issue: "Empty Document Generated"
- Cause: Usually occurs if the AI plan was too complex or the research phase failed.
- Solution: Try a simpler objective first, or disable Web Research to see if that's the blocker.
⌨️ Interface & UI Issues
Issue: "Garbled Text or Weird Characters"
- Cause: Your terminal doesn't support ANSI colors or Unicode properly.
- Solution: Use a modern terminal like Windows Terminal, iTerm2, or VS Code's integrated terminal. Set
HELSE_NO_COLOR=1in.envif the problem persists.
Issue: "Keyboard Shortcuts not working"
- Cause: Some terminals intercept
Ctrlcombinations. - Solution: Check your terminal's "Hotkeys" or "Keyboard" settings and ensure they aren't overriding HelseCLI shortcuts.
🐛 Generating a Debug Log
If your issue isn't listed here, help us help you by generating a debug log:
- Run HelseCLI with debug mode:
HELSE_DEBUG=1 python helsecli.py code - Reproduce the error.
- Check the
logs/helsecli.logfile for detailed error messages. - Open an issue on GitHub with this log attached.