Skip to content

Commit e736500

Browse files
committed
Update __str__ of guardrail.
1 parent b2bea7e commit e736500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/llm/guardrails/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __repr__(self) -> str:
7878
steps.append(f"{run_info.name} - {run_info.metrics}")
7979
if run_info:
8080
steps.append(str(run_info.output))
81-
return "\n".join(steps)
81+
return "\n".join(steps) + "\n\n" + str(self)
8282

8383

8484
class BlockedByGuardrail(ToolException):

0 commit comments

Comments
 (0)