mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 19:42:36 +00:00
fix tests
This commit is contained in:
parent
ada18ec399
commit
f6eb124bda
201 changed files with 31542 additions and 1 deletions
|
|
@ -198,7 +198,6 @@ class StreamingResponseOrchestrator:
|
|||
input_violation_message = await run_guardrails(self.safety_api, combined_text, self.guardrail_ids)
|
||||
if input_violation_message:
|
||||
logger.info(f"Input guardrail violation: {input_violation_message}")
|
||||
# Return refusal response immediately
|
||||
yield await self._create_refusal_response(input_violation_message)
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue