Skip to content

Commit 7898e76

Browse files
committed
indention
1 parent e167a6d commit 7898e76

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

guardrails/guard.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,15 +1183,14 @@ def _stream_server_call(
11831183
validation_passed=(validation_output.validation_passed is True),
11841184
)
11851185

1186-
# TODO reenable this when sever supports multi-node history
11871186
if os.environ.get("GUARD_HISTORY_ENABLED", "true").lower() == "true":
11881187
if validation_output:
11891188
guard_history = self._api_client.get_history(
11901189
self.name, validation_output.call_id
11911190
)
1192-
self.history.extend(
1193-
[Call.from_interface(call) for call in guard_history]
1194-
)
1191+
self.history.extend(
1192+
[Call.from_interface(call) for call in guard_history]
1193+
)
11951194
else:
11961195
raise ValueError("Guard does not have an api client!")
11971196

0 commit comments

Comments
 (0)