From c000f318938f2d13e4265b850e38d6b153c698ae Mon Sep 17 00:00:00 2001 From: Abram Date: Wed, 15 May 2024 15:39:29 +0100 Subject: [PATCH 1/3] Build (agenta-cli): added command to install/upgrade 'agenta' before serving a variant from the CLI --- agenta-cli/agenta/docker/docker-assets/Dockerfile.cloud.template | 1 + agenta-cli/agenta/docker/docker-assets/Dockerfile.template | 1 + 2 files changed, 2 insertions(+) diff --git a/agenta-cli/agenta/docker/docker-assets/Dockerfile.cloud.template b/agenta-cli/agenta/docker/docker-assets/Dockerfile.cloud.template index 12b6032d85..cfbcb8b934 100644 --- a/agenta-cli/agenta/docker/docker-assets/Dockerfile.cloud.template +++ b/agenta-cli/agenta/docker/docker-assets/Dockerfile.cloud.template @@ -3,6 +3,7 @@ FROM public.ecr.aws/s2t9a1r1/agentaai/lambda_templates_public:main COPY requirements.txt ${LAMBDA_TASK_ROOT} RUN pip install --no-cache-dir --disable-pip-version-check -r requirements.txt RUN pip install --no-cache-dir --disable-pip-version-check mangum +RUN pip install --no-cache-dir --disable-pip-version-check -U agenta COPY . ${LAMBDA_TASK_ROOT} CMD [ "lambda_function.handler" ] diff --git a/agenta-cli/agenta/docker/docker-assets/Dockerfile.template b/agenta-cli/agenta/docker/docker-assets/Dockerfile.template index abb46d7594..e6d613a536 100644 --- a/agenta-cli/agenta/docker/docker-assets/Dockerfile.template +++ b/agenta-cli/agenta/docker/docker-assets/Dockerfile.template @@ -5,6 +5,7 @@ WORKDIR /app COPY . . RUN pip install --no-cache-dir --disable-pip-version-check -r requirements.txt +RUN pip install --no-cache-dir --disable-pip-version-check -U agenta EXPOSE 80 From 8a895e2413732517a339cd8e9befbb35df2e87e0 Mon Sep 17 00:00:00 2001 From: Abram Date: Wed, 15 May 2024 15:50:00 +0100 Subject: [PATCH 2/3] Build (SDK): bump version to a pre-release version (0.14.8a0) --- agenta-cli/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenta-cli/pyproject.toml b/agenta-cli/pyproject.toml index a1560fd62a..6899d915d2 100644 --- a/agenta-cli/pyproject.toml +++ b/agenta-cli/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "agenta" -version = "0.14.8" +version = "0.14.8a0" description = "The SDK for agenta is an open-source LLMOps platform." readme = "README.md" authors = ["Mahmoud Mabrouk "] From 56811e5ba0d92e54692241739d10ded449407e9d Mon Sep 17 00:00:00 2001 From: Mahmoud Mabrouk Date: Wed, 15 May 2024 17:25:29 +0200 Subject: [PATCH 3/3] Update pyproject.toml --- agenta-cli/pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agenta-cli/pyproject.toml b/agenta-cli/pyproject.toml index 6899d915d2..a1560fd62a 100644 --- a/agenta-cli/pyproject.toml +++ b/agenta-cli/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "agenta" -version = "0.14.8a0" +version = "0.14.8" description = "The SDK for agenta is an open-source LLMOps platform." readme = "README.md" authors = ["Mahmoud Mabrouk "]