File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
patcher/src/buttercup/patcher/agents Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -720,7 +720,7 @@ def __post_init__(self) -> None:
720720 self .llm = create_default_llm (model_name = ButtercupLLM .OPENAI_GPT_4_1 .value )
721721 self .cheap_llm = create_default_llm (model_name = ButtercupLLM .OPENAI_GPT_4_1_MINI .value )
722722 self .cheap_fallback_llms = [
723- create_default_llm (model_name = ButtercupLLM .CLAUDE_3_7_SONNET .value ),
723+ create_default_llm (model_name = ButtercupLLM .CLAUDE_4_5_SONNET .value ),
724724 create_default_llm (model_name = ButtercupLLM .GEMINI_PRO .value ),
725725 ]
726726
Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ def __post_init__(self) -> None:
407407 """Initialize a few fields"""
408408 default_llm = create_default_llm (model_name = ButtercupLLM .OPENAI_GPT_4_1 .value )
409409 fallback_llms : list [Runnable ] = []
410- for fb_model in [ButtercupLLM .CLAUDE_3_7_SONNET , ButtercupLLM .GEMINI_PRO ]:
410+ for fb_model in [ButtercupLLM .CLAUDE_4_5_SONNET , ButtercupLLM .GEMINI_PRO ]:
411411 fallback_llms .append (create_default_llm (model_name = fb_model .value ))
412412
413413 self .llm = default_llm .with_fallbacks (fallback_llms )
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ def __post_init__(self) -> None:
138138 model_name = m .value ,
139139 ** kwargs ,
140140 )
141- for m in [ButtercupLLM .CLAUDE_3_7_SONNET , ButtercupLLM .GEMINI_PRO ]
141+ for m in [ButtercupLLM .CLAUDE_4_5_SONNET , ButtercupLLM .GEMINI_PRO ]
142142 ]
143143 self .llm = default_llm .with_fallbacks (fallback_llms )
144144
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ def understand_code_snippet(
352352 )
353353 fallback_llms : list [Runnable ] = []
354354 for fb_model in [
355- ButtercupLLM .CLAUDE_3_7_SONNET ,
355+ ButtercupLLM .CLAUDE_4_5_SONNET ,
356356 ButtercupLLM .GEMINI_PRO ,
357357 ]:
358358 fallback_llms .append (create_default_llm_with_temperature (model_name = fb_model .value , ** kwargs ))
You can’t perform that action at this time.
0 commit comments