Comments (9)
The bug you show in your screenshots TypeError: replace() argument 1 must be str, not None
is fixed in the latest version in the main branch. It's because you are running aider without providing an OpenAI API key. The fixed version will print a proper explanation of what's wrong.
But you do need to provide an OpenAI API key. Perhaps you have an aider.conf.yml
file in one directory/repo but not the other?
The change is available in the main branch. You can get it by installing the latest version from github:
python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git
If you have a chance to try it, let me know if it works better for you.
from aider.
The missing .aider.conf.yaml was the culprit!
from aider.
Thanks for trying aider and filing this issue.
Can you share the full command line you used to invoke aider? Or even better, also share the output when you add --verbose
to the command line.
from aider.
from aider.
I think this error is related to the Github repository. Upon further inspection, it works in one branch of the repository but not in another branch.
I've tried merging the branch where aider loads into the one where aider doesn't load, but that didn't fix it.
from aider.
Here's a screenshot of running aider --verbose
and aider --help
commands in the broken branch of the repository.
from aider.
Are you using unusual git features, maybe like worktrees?
from aider.
No. I am just using one branch for production (that's broken with aider) and one for development (thankfully aider is working there lol)
from aider.
I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.
from aider.
Related Issues (20)
- Allow separate and explicit configuration of strong and weak models (gpt-3.5-turbo is hardcoded for weak) HOT 3
- How will your benchmarks fare if you say Please and Thanks in the prompt? HOT 8
- [feature request] Allow running commands in the environment: compilation, running test cases, and so on HOT 1
- [request] Add to nixpkgs HOT 6
- universal-ctags not enabled? HOT 2
- Files not created / saved HOT 2
- Possible benefits of using OpenAIs 'Assistants' API HOT 1
- Invalid literal for int() with base 10: ':1' HOT 8
- keywords run or test will attempt to add run and test, if they are scripts. HOT 3
- Support for "!" Whitelisting Syntax in .gitignore and .aiderignore Files HOT 1
- Multiple Conversation Threads, Prompt Customization, and Conversation Templates
- Can the author specify my local file for this project to add, delete, modify, and check the code below the file? It should be done locally, not on Git HOT 2
- Add vision support for openrouter models
- Refresh files content HOT 4
- gpt-4-turbo refactoring benchmark questions HOT 1
- TypeError: replace() argument 1 must be str, not None HOT 3
- nothing response in chat with "TypeError: 'NoneType' object is not subscriptable" HOT 7
- Files added to the .aiderignore cannot be added to the repo chat HOT 3
- IndexError in aider/coders/base_coder.py when running 'aider' command HOT 2
- Allow the user to optionally edit the output of /run before sending it to the model HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aider.