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

Conversation

HamadaSalhab
Copy link
Contributor

@HamadaSalhab HamadaSalhab commented Sep 26, 2024

Important

Removes unnecessary transition call in WaitForInputStep case in TaskExecutionWorkflow.run() and updates tests accordingly.

  • Behavior:
    • Removes await transition(context, type="wait", output=output) from WaitForInputStep case in run() in __init__.py.
  • Tests:
    • Updates test_execution_workflow.py to ensure workflow behaves correctly without the removed transition call.

This description was created by Ellipsis for 6600cee. It will automatically update as commits are pushed.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me! Reviewed everything up to 6600cee in 14 seconds

More details
  • Looked at 23 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. agents-api/agents_api/workflows/task_execution/__init__.py:381
  • Draft comment:
    Removing the await transition(context, type="wait", output=output) line might cause issues with handling the waiting state for external input. Ensure that the workflow can still manage this state correctly without this transition.
  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_06sTlgAEjU7D76LX


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@whiterabbit1983 whiterabbit1983 merged commit 833433a into dev Sep 26, 2024
4 of 7 checks passed
@whiterabbit1983 whiterabbit1983 deleted the x/fix-wait-for-input-step branch September 26, 2024 14:16
creatorrr pushed a commit that referenced this pull request Sep 30, 2024
<!-- ELLIPSIS_HIDDEN -->



> [!IMPORTANT]
> Removes unnecessary transition call in `WaitForInputStep` case in
`TaskExecutionWorkflow.run()` and updates tests accordingly.
> 
>   - **Behavior**:
> - Removes `await transition(context, type="wait", output=output)` from
`WaitForInputStep` case in `run()` in `__init__.py`.
>   - **Tests**:
> - Updates `test_execution_workflow.py` to ensure workflow behaves
correctly without the removed transition call.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=julep-ai%2Fjulep&utm_source=github&utm_medium=referral)<sup>
for 6600cee. It will automatically
update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants