Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Optimise ModelSettings configs and retrieval #2821

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions aider/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ def check_streamlit_install(io):

def write_streamlit_credentials():
from streamlit.file_util import get_streamlit_file_path

# See https://github.com/Aider-AI/aider/issues/772

credential_path = Path(get_streamlit_file_path()) / "credentials.toml"
Expand Down Expand Up @@ -753,8 +754,8 @@ def get_io(pretty):

main_model = models.Model(
args.model,
weak_model=args.weak_model,
editor_model=args.editor_model,
weak_model_name=args.weak_model,
editor_model_name=args.editor_model,
editor_edit_format=args.editor_edit_format,
)

Expand Down
Loading
Loading