From c0f0cc165ef0408207c4484dd75dc07b8c08f68c Mon Sep 17 00:00:00 2001 From: Oleksii-Klimov <133792808+Oleksii-Klimov@users.noreply.github.com> Date: Tue, 4 Feb 2025 23:18:23 +0000 Subject: [PATCH] chore: add aiohttp to allowed packages (#23) --- src/main/resources/application.yaml | 1 + src/test/resources/expected-configs/build-job.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 9da9a74..6ad7ef0 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -69,6 +69,7 @@ app: ephemeral-storage: "1G" allowed-python-packages: | aidial-sdk + aiohttp anthropic beautifulsoup4 chromadb diff --git a/src/test/resources/expected-configs/build-job.yaml b/src/test/resources/expected-configs/build-job.yaml index c421251..b21185b 100644 --- a/src/test/resources/expected-configs/build-job.yaml +++ b/src/test/resources/expected-configs/build-job.yaml @@ -32,7 +32,7 @@ spec: - name: DIAL_BASE_URL value: test-dial-base-url - name: ALLOWED_PACKAGES - value: "aidial-sdk\nanthropic\nbeautifulsoup4\nchromadb\ncolorama\nfastapi\n\ + value: "aidial-sdk\naiohttp\nanthropic\nbeautifulsoup4\nchromadb\ncolorama\nfastapi\n\ faiss-cpu\nflake8\nflask\nhttpx\ninquirer\nlangchain\nlangchain-community\nlangchain-openai\n\ langchain-text-splitters\nnumpy\nopenai\npandas\npyright\npython-dotenv\n\ python-multipart\nprompt-toolkit\npypdf\nrequests\ntiktoken\nuvicorn\n\