Skip to content

Commit 932cf47

Browse files
author
Paweł Kędzia
committed
Remove redundant default masking strategy verification for audit mode.
1 parent 44000b6 commit 932cf47

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

llm_router_api/base/constants.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -217,13 +217,6 @@ def __verify_balancing_strategy():
217217

218218
@staticmethod
219219
def __verify_default_masking_strategy():
220-
if MASKING_WITH_AUDIT:
221-
if not FORCE_MASKING:
222-
raise Exception(
223-
f"`export LLM_ROUTER_FORCE_MASKING=1` environment is "
224-
f"required when `LLM_ROUTER_MASKING_WITH_AUDIT=1`\n\n"
225-
)
226-
227220
if FORCE_MASKING and not len(MASKING_STRATEGY_PIPELINE):
228221
raise Exception(
229222
"When FORCE_MASKING is set to `True`, you must specify the "

0 commit comments

Comments
 (0)