mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 18:22:41 +00:00
remove assert
This commit is contained in:
parent
6cec64c2e4
commit
24193f4395
1 changed files with 0 additions and 1 deletions
|
@ -267,7 +267,6 @@ class LlamaGuardShield:
|
|||
event.event_type == ChatCompletionResponseEventType.progress
|
||||
and event.delta.type == "text"
|
||||
):
|
||||
assert isinstance(event.delta.text, str)
|
||||
content += event.delta.text
|
||||
|
||||
content = content.strip()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue