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 df33d63 commit ed37b05Copy full SHA for ed37b05
samples-v2/openai_agents/function_app.py
@@ -71,7 +71,7 @@ def human_in_the_loop(context):
71
evaluation = Runner.run_sync(judge, f"Is this a good haiku? {haiku.final_output}")
72
73
# You can set custom orchestration status, like you normally would
74
- context.set_custom_status(f"Haiku:\n{haiku.final_output}\n\nEvaluation:\n{evaluation.final_output}\n\nWaiting for approval...")
+ context.set_custom_status(f"--- Haiku:\n{haiku.final_output}\n\n--- Evaluation:\n{evaluation.final_output}\n\nWaiting for approval...")
75
76
# You can wait for external events, like you normally would
77
event_data = yield context.wait_for_external_event("Approve")
0 commit comments