fix(elicitation): pass CredentialsNotConfiguredError through tool_error_handler

This commit is contained in:
Jacob Magar
2026-03-14 03:58:44 -04:00
parent 8a986a84c2
commit 61604b313f

View File

@@ -54,6 +54,8 @@ def tool_error_handler(
yield yield
except ToolError: except ToolError:
raise raise
except CredentialsNotConfiguredError:
raise # Let callers handle elicitation — do not wrap in ToolError
except TimeoutError as e: except TimeoutError as e:
logger.exception( logger.exception(
f"Timeout in unraid_{tool_name} action={action}: request exceeded time limit" f"Timeout in unraid_{tool_name} action={action}: request exceeded time limit"