Skip to content

Conversation

@zephyrzilla
Copy link
Member

Summary

This PR decouples the tasks directory from the framework and allows writing tasks/flows within any directory, without explicitly creating a separate tasks directory.

For example:
Allows users to run tasks both using --task examples.agent_simulation and --task tasks.examples.agent_simulation

How to Test the feature

  1. Test without prefix (new functionality):

    python main.py --task examples.agent_simulation

    Expected result: Task runs successfully without FileNotFoundError

  2. Test with prefix (existing functionality):

    python main.py --task tasks.examples.agent_simulation  

    Expected result: Task runs successfully as before

Checklist

  • Lint fixes and unit testing done
  • End to end task testing
  • Documentation updated

@zephyrzilla zephyrzilla requested a review from a team September 3, 2025 09:25
@zephyrzilla zephyrzilla self-assigned this Sep 3, 2025
@zephyrzilla zephyrzilla added the enhancement New feature or request label Sep 3, 2025
@vipul-mittal vipul-mittal enabled auto-merge (squash) September 3, 2025 15:43
Copy link
Collaborator

@psriramsnc psriramsnc left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@amitsnow amitsnow left a comment

Choose a reason for hiding this comment

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

LGTM

@vipul-mittal vipul-mittal merged commit 5a0b84e into main Sep 4, 2025
1 check passed
@vipul-mittal vipul-mittal deleted the scratch/decouple_tasks_dir branch September 4, 2025 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants