added model settings for sonnet 1022

This commit is contained in:
Paul Gauthier 2024-10-22 09:38:32 -07:00
parent 46269f2e9b
commit cb306b61cd

View file

@ -292,6 +292,23 @@ MODEL_SETTINGS = [
cache_control=True,
reminder="user",
),
ModelSettings(
"anthropic/claude-3-5-sonnet-20241122",
"diff",
weak_model_name="claude-3-haiku-20240307",
editor_model_name="anthropic/claude-3-5-sonnet-20240620",
editor_edit_format="editor-diff",
use_repo_map=True,
examples_as_sys_msg=True,
extra_params={
"extra_headers": {
"anthropic-beta": ANTHROPIC_BETA_HEADER,
},
"max_tokens": 8192,
},
cache_control=True,
reminder="user",
),
ModelSettings(
"anthropic/claude-3-haiku-20240307",
"whole",