feat: add model switching tip and sort git repos

This commit is contained in:
Paul Gauthier 2024-08-28 15:33:41 -07:00 committed by Paul Gauthier (aider)
parent 6f09f651a1
commit 380f019c0d
2 changed files with 2 additions and 1 deletions

View file

@ -24,7 +24,7 @@ from .dump import dump # noqa: F401
def setup_git_home(io):
home = Path.home()
git_repos = list(home.glob("*/.git"))
git_repos = sorted(home.glob("*/.git"))
git_root = None
if git_repos:

View file

@ -35,6 +35,7 @@ Once you are happy with the approach, just say "go ahead" without the `/ask` pre
- Use `/clear` to discard the chat history and make a fresh start.
- Can you `/drop` any extra files?
- Use `/ask` to discuss a plan before aider starts editing code.
- Use the [`/model` command](commands.html) to switch to a different model and try again. Switching between GPT-4o and Sonnet will often get past problems.
- If aider is hopelessly stuck,
just code the next step yourself and try having aider code some more after that.
Take turns and pair program with aider.