fix(bedrock): log the swallowed boto3 lazy-install failure instead of passing silently

This commit is contained in:
kshitijk4poor
2026-09-20 13:07:08 +05:30
committed by kshitij
parent 98d70e0759
commit a4f34b90c6

View File

@@ -31,8 +31,8 @@ try:
# ---------------------------------------------------------------------------
from tools.lazy_deps import ensure
ensure("provider.bedrock", prompt=False)
except Exception:
pass # let downstream imports surface the real error
except Exception as exc: # downstream imports surface the real error
logger.warning("boto3 lazy install did not complete: %s", exc)
_bedrock_runtime_client_cache: Dict[str, Any] = {}