Skip to content

Commit f1814e5

Browse files
authored
Apply suggestion from @brianstrauch
1 parent 2f39146 commit f1814e5

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

workflow_streams/activities/llm_activity.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,7 @@ async def stream_completion(input: LLMInput) -> str:
3333
3434
No ``force_flush=True``: the 200ms ``batch_interval`` is fast
3535
enough for an interactive feel, and the WorkflowStreamClient's
36-
``__aexit__`` cancels a sleeping flusher cleanly. (The doc example
37-
uses ``force_flush=True`` on the first delta; that path currently
38-
wedges the activity's exit on a cancel-mid-flight bug — fix is
39-
pending in ``temporalio.contrib.workflow_streams``.)
36+
``__aexit__`` cancels a sleeping flusher cleanly.
4037
"""
4138
stream_client = WorkflowStreamClient.from_within_activity(
4239
batch_interval=timedelta(milliseconds=200),

0 commit comments

Comments
 (0)