diff --git a/run_agent.py b/run_agent.py index 22718eeac406..4d0436247e56 100644 --- a/run_agent.py +++ b/run_agent.py @@ -5568,7 +5568,7 @@ class AIAgent: else: requested_effort = "medium" - if requested_effort == "xhigh" and "high" in supported_efforts: + if requested_effort == "xhigh" and "xhigh" not in supported_efforts and "high" in supported_efforts: requested_effort = "high" elif requested_effort not in supported_efforts: if requested_effort == "minimal" and "low" in supported_efforts: