diff --git a/aider/main.py b/aider/main.py index 32d018f32..b34aac457 100644 --- a/aider/main.py +++ b/aider/main.py @@ -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: diff --git a/aider/website/docs/usage/tips.md b/aider/website/docs/usage/tips.md index 1ab8d3f38..da5be762b 100644 --- a/aider/website/docs/usage/tips.md +++ b/aider/website/docs/usage/tips.md @@ -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.