pearai-app
pearai-app copied to clipboard
PearAI Creator (aider) not working correctly on windows
Describe the bug
When trying to use aider creator on windows this happens..
# aider chat started at 2024-12-08 23:53:50
> Can't initialize prompt toolkit: No Windows console found. Are you running cmd.exe?
> C:\Users\nicol\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts\aider --no-pretty --yes-always --no-auto-commits --no-suggest-shell-commands --no-auto-lint --no-check-update --map-tokens 2048 --subtree-only --no-show-release-notes --no-detect-urls --openai-api-key ...rwe0 --openai-api-base https://stingray-app-gb2an.ondigitalocean.app/pearai-server-api2/integrations/aider
> Aider v0.67.0
> Main model: gpt-4o-2024-08-06 with diff edit format
> Weak model: gpt-4o-mini
> Git repo: .git with 15 files
> Repo-map: using 2048 tokens, auto refresh
#### create a new folder "folder"
This is a simple request that doesn't require editing any existing files. I'll create a new directory named "folder" using a command at the end of my response:
mkdir folder
> Tokens: 2.1k sent, 40 received. Cost: $0.0057 message, $0.0057 session.
and the creator is stuck as in the picture.
I think this line can be the problem:
> Can't initialize prompt toolkit: No Windows console found. Are you running cmd.exe?
hmm interesting. cc'ing @Himanshu-Singh-Chauhan
@nicolapace what version are you on of pearai? can you check if its >=1.6.0