From a4250f2edbd437662cdfb14c0b3f2723c49be3d3 Mon Sep 17 00:00:00 2001 From: HamadaSalhab Date: Thu, 26 Sep 2024 12:28:06 +0300 Subject: [PATCH 1/2] fix(agents-api): Remove explicit transition in wait-for-input-step --- agents-api/agents_api/workflows/task_execution/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/agents-api/agents_api/workflows/task_execution/__init__.py b/agents-api/agents_api/workflows/task_execution/__init__.py index aab0979a8..2ca7e6ade 100644 --- a/agents-api/agents_api/workflows/task_execution/__init__.py +++ b/agents-api/agents_api/workflows/task_execution/__init__.py @@ -381,8 +381,6 @@ async def run( case WaitForInputStep(), StepOutcome(output=output): workflow.logger.info("Wait for input step: Waiting for external input") - await transition(context, type="wait", output=output) - result = await workflow.execute_activity( task_steps.raise_complete_async, args=[context, output], From 6600cee7ef0ea8b27e2026e2ea8d6402fe996a26 Mon Sep 17 00:00:00 2001 From: HamadaSalhab Date: Thu, 26 Sep 2024 12:45:18 +0300 Subject: [PATCH 2/2] Run poe check --- agents-api/tests/test_execution_workflow.py | 1 - 1 file changed, 1 deletion(-) diff --git a/agents-api/tests/test_execution_workflow.py b/agents-api/tests/test_execution_workflow.py index 3ff1c989e..b6394f1bc 100644 --- a/agents-api/tests/test_execution_workflow.py +++ b/agents-api/tests/test_execution_workflow.py @@ -1085,4 +1085,3 @@ async def _( mock_run_task_execution_workflow.assert_called_once() await handle.result() -