forked from phoenix/litellm-mirror
fix(llama_guard.py): fix merge
This commit is contained in:
parent
9522f6a2c1
commit
52e425c7ac
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ class _ENTERPRISE_LlamaGuard(CustomLogger):
|
|||
model=self.model,
|
||||
messages=[safety_check_messages],
|
||||
hf_model_name="meta-llama/LlamaGuard-7b",
|
||||
)
|
||||
|
||||
if "unsafe" in response.choices[0].message.content:
|
||||
raise HTTPException(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue