Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(agents-api): Fix wait for input step #522

Merged
merged 2 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions agents-api/agents_api/workflows/task_execution/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
1 change: 0 additions & 1 deletion agents-api/tests/test_execution_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1085,4 +1085,3 @@ async def _(
mock_run_task_execution_workflow.assert_called_once()

await handle.result()

Loading