Skip to content

Commit 7ee2fb9

Browse files
committed
refactor: rename allow_exceptions to enable_rails_exceptions
1 parent 88ebab6 commit 7ee2fb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/bots/abc/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ rails:
3434
single_call:
3535
enabled: False
3636

37-
allow_exceptions: True
37+
enable_rails_exceptions: True

nemoguardrails/rails/llm/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ def _join_config(dest_config: dict, additional_config: dict):
485485
"streaming",
486486
"passthrough",
487487
"raw_llm_call_action",
488-
"allow_exceptions",
488+
"enable_rails_exceptions",
489489
]
490490

491491
for field in additional_fields:

0 commit comments

Comments
 (0)