Skip to content

Commit 13d1d2d

Browse files
Add elif
1 parent 4358f16 commit 13d1d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guardrails/classes/history/iteration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def raw_output(self) -> Optional[str]:
6666
response = self.outputs.llm_response_info
6767
if response is not None:
6868
return response.output
69-
if self.outputs.raw_output is not None:
69+
elif self.outputs.raw_output is not None:
7070
return self.outputs.raw_output
7171

7272
@property

0 commit comments

Comments
 (0)