From 41ae61395a452189930f733843b00573207b0b99 Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Tue, 11 Feb 2025 12:41:48 +0200 Subject: [PATCH 1/2] Fix codegate not a package when poetry install Signed-off-by: Radoslav Dimitrov --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 83607539..e44881fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,9 @@ version = "0.1.7" description = "Generative AI CodeGen security gateway" readme = "README.md" authors = [] - +packages = [ + { include = "codegate", from = "src" }, +] [tool.poetry.dependencies] python = ">=3.12,<4.0" click = "==8.1.8" From e64097bf859efb3a1ab0c282a9ac47a7d003f818 Mon Sep 17 00:00:00 2001 From: Radoslav Dimitrov Date: Tue, 11 Feb 2025 12:43:16 +0200 Subject: [PATCH 2/2] Add a log message when an integration test has started Signed-off-by: Radoslav Dimitrov --- tests/integration/integration_tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/integration_tests.py b/tests/integration/integration_tests.py index 96ebcdfc..1326d193 100644 --- a/tests/integration/integration_tests.py +++ b/tests/integration/integration_tests.py @@ -136,6 +136,8 @@ async def run_test(self, test: dict, test_headers: dict) -> bool: streaming = data.get("stream", False) provider = test["provider"] + logger.info(f"Starting test: {test_name}") + response = self.call_codegate(url, test_headers, data, provider) if not response: logger.error(f"Test {test_name} failed: No response received")