Skip to content

Conversation

mshsheikh
Copy link
Contributor

Previously, if run_config was None, calling .get("guardrails_settings") would raise an AttributeError.

This patch adds a safe fallback (self._run_config or {}) so that debounce_text_length always falls back to 100 when no guardrails settings are provided.

…ettings

Previously, if `run_config` was None, calling `.get("guardrails_settings")` would raise an AttributeError.

This patch adds a safe fallback (`self._run_config or {}`) so that `debounce_text_length` always falls back to 100 when no guardrails settings are provided.
@seratch
Copy link
Member

seratch commented Aug 5, 2025

Thanks, but the _run_config never be None (see L95)

@seratch seratch closed this Aug 5, 2025
@mshsheikh mshsheikh deleted the patch-31 branch August 5, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants