Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
fix: correct error fetching for workos login polling (#4124)
Heitor Carvalhobe70a041534d
diff --git a/lib/crewai/src/crewai/cli/authentication/main.py b/lib/crewai/src/crewai/cli/authentication/main.pyindex 8559739fc..9f300fe54 100644--- a/lib/crewai/src/crewai/cli/authentication/main.py+++ b/lib/crewai/src/crewai/cli/authentication/main.py@@ -149,7 +149,9 @@ class AuthenticationCommand:returnif token_data["error"] not in ("authorization_pending", "slow_down"):- raise requests.HTTPError(token_data["error_description"])+ raise requests.HTTPError(+ token_data.get("error_description") or token_data.get("error")+ )time.sleep(device_code_data["interval"])attempts += 1