We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6209f67 commit 5c00824Copy full SHA for 5c00824
guardrails/run/async_stream_runner.py
@@ -279,10 +279,11 @@ async def async_step(
279
validation_response = cast(dict, validated_fragment)
280
yield ValidationOutcome(
281
call_id=call_log.id, # type: ignore
282
- raw_llm_output=fragment,
+ raw_llm_output=validated_fragment,
283
validated_output=chunk_text,
284
validation_passed=validated_fragment is not None,
285
)
286
+ fragment = ""
287
288
iteration.outputs.raw_output = fragment
289
# FIXME: Handle case where parsing continuously fails/is a reask
0 commit comments