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 259d1aa commit 9bbfb72Copy full SHA for 9bbfb72
samples-v2/openai_agents/durable_decorators.py
@@ -25,6 +25,7 @@ def wrapper(durable_orchestration_context: DurableOrchestrationContext):
25
while True:
26
try:
27
# send whatever was sent into us down to the subgenerator
28
+ yield from durable_ai_agent_context.yield_and_clear_tasks()
29
sent = yield value
30
except GeneratorExit:
31
# ensure the subgenerator is closed
0 commit comments