Skip to content

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

fix: Attribute error on poll interval envs (#284)

Chandrasekharan Maa4bd8ecbf38
diff --git a/unstract/workflow-execution/src/unstract/workflow_execution/constants.py b/unstract/workflow-execution/src/unstract/workflow_execution/constants.py
index 2cac4e15a..5bf1372ac 100644
--- a/unstract/workflow-execution/src/unstract/workflow_execution/constants.py
+++ b/unstract/workflow-execution/src/unstract/workflow_execution/constants.py
@@ -13,13 +13,13 @@ class ToolExecution:
class ToolRuntimeVariable:
PLATFORM_HOST = "PLATFORM_SERVICE_HOST"
PLATFORM_PORT = "PLATFORM_SERVICE_PORT"
- DOCUMENT_PROCESSOR_URL = "DOCUMENT_PROCESSOR_URL"
- DOCUMENT_PROCESSOR_API_KEY = "DOCUMENT_PROCESSOR_API_KEY"
PLATFORM_SERVICE_API_KEY = "PLATFORM_SERVICE_API_KEY"
PROMPT_HOST = "PROMPT_HOST"
PROMPT_PORT = "PROMPT_PORT"
X2TEXT_HOST = "X2TEXT_HOST"
X2TEXT_PORT = "X2TEXT_PORT"
+ ADAPTER_LLMW_POLL_INTERVAL = "ADAPTER_LLMW_POLL_INTERVAL"
+ ADAPTER_LLMW_MAX_POLLS = "ADAPTER_LLMW_MAX_POLLS"
class WorkflowFileType: