LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
Handling flipt server unavailability (#440)
ali628cb4101b07
diff --git a/unstract/flags/src/unstract/flags/client/evaluation.py b/unstract/flags/src/unstract/flags/client/evaluation.pyindex 3a4b2b785..d3e629d72 100644--- a/unstract/flags/src/unstract/flags/client/evaluation.py+++ b/unstract/flags/src/unstract/flags/client/evaluation.py@@ -55,6 +55,8 @@ class EvaluationClient(BaseClient):logger.warning(f"Flag key {flag_key} not found in namespace {namespace_key}.")+ elif e.code() == grpc.StatusCode.UNAVAILABLE:+ logger.warning(f"Evaluation server is unavailable: {e.details()}.")else:logger.warning(f"Error evaluating feature flag {flag_key} for {namespace_key}"