From 8065a02f06bd9ba37297872bb5cc7b88b07147eb Mon Sep 17 00:00:00 2001 From: Gui Vieira Date: Fri, 1 Nov 2024 18:54:40 -0300 Subject: [PATCH] Increase providers fetching timeout --- src/crewai/cli/provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crewai/cli/provider.py b/src/crewai/cli/provider.py index 4bfeb9324..529ca5e26 100644 --- a/src/crewai/cli/provider.py +++ b/src/crewai/cli/provider.py @@ -164,7 +164,7 @@ def fetch_provider_data(cache_file): - dict or None: The fetched provider data or None if the operation fails. """ try: - response = requests.get(JSON_URL, stream=True, timeout=10) + response = requests.get(JSON_URL, stream=True, timeout=60) response.raise_for_status() data = download_data(response) with open(cache_file, "w") as f: