From 5b97596eb3f487d5def84af44317ee2e565d41b5 Mon Sep 17 00:00:00 2001 From: Mahmoud Mabrouk Date: Tue, 23 Apr 2024 09:27:55 +0200 Subject: [PATCH 1/2] Increased time out to 90s for fetching --- agenta-backend/agenta_backend/services/templates_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agenta-backend/agenta_backend/services/templates_manager.py b/agenta-backend/agenta_backend/services/templates_manager.py index 1b72394682..6a43e13fbc 100644 --- a/agenta-backend/agenta_backend/services/templates_manager.py +++ b/agenta-backend/agenta_backend/services/templates_manager.py @@ -140,7 +140,7 @@ async def retrieve_templates_from_dockerhub( """ async with httpx.AsyncClient() as client: - response = await client.get(f"{url}/{repo_name}/tags", timeout=10) + response = await client.get(f"{url}/{repo_name}/tags", timeout=90) if response.status_code == 200: response_data = response.json() return response_data @@ -165,7 +165,7 @@ async def get_templates_info_from_s3(url: str) -> Dict[str, Dict[str, Any]]: """ async with httpx.AsyncClient() as client: - response = await client.get(url, timeout=10) + response = await client.get(url, timeout=90) if response.status_code == 200: response_data = response.json() return response_data From dfea03602a8707aa168ad56011e4098c9d64bdfe Mon Sep 17 00:00:00 2001 From: mmabrouk <4510758+mmabrouk@users.noreply.github.com> Date: Tue, 23 Apr 2024 07:52:03 +0000 Subject: [PATCH 2/2] Bump versions --- agenta-backend/pyproject.toml | 2 +- agenta-cli/pyproject.toml | 2 +- agenta-web/package-lock.json | 4 ++-- agenta-web/package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/agenta-backend/pyproject.toml b/agenta-backend/pyproject.toml index 7b2ad44f99..00bb705276 100644 --- a/agenta-backend/pyproject.toml +++ b/agenta-backend/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "agenta_backend" -version = "0.13.3" +version = "0.13.4" description = "" authors = ["Mahmoud Mabrouk "] readme = "README.md" diff --git a/agenta-cli/pyproject.toml b/agenta-cli/pyproject.toml index 343251129b..d735b7a3ef 100644 --- a/agenta-cli/pyproject.toml +++ b/agenta-cli/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "agenta" -version = "0.13.3" +version = "0.13.4" description = "The SDK for agenta is an open-source LLMOps platform." readme = "README.md" authors = ["Mahmoud Mabrouk "] diff --git a/agenta-web/package-lock.json b/agenta-web/package-lock.json index e9550a5d6f..4d67f815b5 100644 --- a/agenta-web/package-lock.json +++ b/agenta-web/package-lock.json @@ -1,12 +1,12 @@ { "name": "agenta", - "version": "0.13.3", + "version": "0.13.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "agenta", - "version": "0.13.3", + "version": "0.13.4", "dependencies": { "@ant-design/colors": "^7.0.0", "@ant-design/icons": "^5.0.1", diff --git a/agenta-web/package.json b/agenta-web/package.json index 593372124d..94d33f132d 100644 --- a/agenta-web/package.json +++ b/agenta-web/package.json @@ -1,6 +1,6 @@ { "name": "agenta", - "version": "0.13.3", + "version": "0.13.4", "private": true, "engines": { "node": ">=18"