Skip to content

LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows

fix: Removed unnecessary kwarg db_instance in platform-service (#750)

Chandrasekharan Mfd8cac12884c
diff --git a/backend/entrypoint.sh b/backend/entrypoint.sh
index ebbb38c3f..686755124 100755
--- a/backend/entrypoint.sh
+++ b/backend/entrypoint.sh
@@ -16,5 +16,4 @@ fi
--log-level debug \
--timeout 600 \
--access-logfile - \
- --reload \
backend.wsgi:application
diff --git a/platform-service/src/unstract/platform_service/controller/platform.py b/platform-service/src/unstract/platform_service/controller/platform.py
index 232bf2c2d..fb00d4b2d 100644
--- a/platform-service/src/unstract/platform_service/controller/platform.py
+++ b/platform-service/src/unstract/platform_service/controller/platform.py
@@ -499,7 +499,6 @@ def custom_tool_instance() -> Any:
try:
data_dict = PromptStudioRequestHelper.get_prompt_instance_from_db(
- db_instance=db,
organization_id=organization_id,
prompt_registry_id=prompt_registry_id,
)
diff --git a/prompt-service/entrypoint.sh b/prompt-service/entrypoint.sh
index 9a928875d..9c7e79fd3 100755
--- a/prompt-service/entrypoint.sh
+++ b/prompt-service/entrypoint.sh
@@ -8,5 +8,4 @@
--log-level debug \
--timeout 900 \
--access-logfile - \
- --reload \
unstract.prompt_service.main:app