feat: Add SeniorCoder and update prompts

This commit is contained in:
Paul Gauthier 2024-09-25 10:23:31 -07:00 committed by Paul Gauthier (aider)
parent 095bae6513
commit 087dbb40a3
7 changed files with 40 additions and 204 deletions

View file

@ -81,6 +81,8 @@ class ModelSettings:
use_system_prompt: bool = True
use_temperature: bool = True
streaming: bool = True
junior_model_name: Optional[str] = None
junior_edit_format: Optional[str] = None
# https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo
@ -259,6 +261,8 @@ MODEL_SETTINGS = [
"claude-3-5-sonnet-20240620",
"diff",
weak_model_name="claude-3-haiku-20240307",
junior_model_name="claude-3-haiku-20240307",
junior_edit_format="whole",
use_repo_map=True,
examples_as_sys_msg=True,
accepts_images=True,