Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ def run_stream(
try:
current_run_id = None
yield_run_output_set = False
if "yield_run_output" not in kwargs:
yield_run_output_set = True
if "yield_run_output" not in kwargs and "yield_run_response" not in kwargs:
kwargs["yield_run_output"] = True # type: ignore
yield_run_output_set = True

run_response = None
with trace_api.use_span(span, end_on_exit=False):
Expand Down Expand Up @@ -503,7 +503,7 @@ async def arun_stream(
try:
current_run_id = None
yield_run_output_set = False
if "yield_run_output" not in kwargs:
if "yield_run_output" not in kwargs and "yield_run_response" not in kwargs:
yield_run_output_set = True
kwargs["yield_run_output"] = True # type: ignore
run_response = None
Expand Down