mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-05 21:30:40 +08:00
Change default model to regular model
This commit is contained in:
@ -353,7 +353,7 @@ async def retry_with_fallback_models(f: Callable, model_type: ModelType = ModelT
|
|||||||
raise Exception(f"Failed to generate prediction with any model of {all_models}")
|
raise Exception(f"Failed to generate prediction with any model of {all_models}")
|
||||||
|
|
||||||
|
|
||||||
def _get_all_models(model_type: ModelType = ModelType.WEAK) -> List[str]:
|
def _get_all_models(model_type: ModelType = ModelType.REGULAR) -> List[str]:
|
||||||
if model_type == ModelType.WEAK:
|
if model_type == ModelType.WEAK:
|
||||||
model = get_settings().config.model_weak
|
model = get_settings().config.model_weak
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user