-
Notifications
You must be signed in to change notification settings - Fork 1.6k
TaskGroup #3680
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
TaskGroup #3680
Conversation
…/agents into tina/surveyagent-example
| task_ids.discard(active_task_id) | ||
| task_repr = {f.id: f.description for f in self._registered_factories if f.id in task_ids} | ||
|
|
||
| description = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this description seems very specific to the style of agent where it's modifying information in another task.. is it robust enough for other use cases as a task?
should we also allow users to skip around? currently it's only allowing you to go back to previous tasks. I'm wondering if this should be specified on each task itself either:
- can be revisited
- can be skipped ahead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in future versions of TaskGroup, we can allow additional parameters to tasks for those:
mutable: bool will determine whether or not a task can be revisited
global: bool will determine if a task can be called regardless of whether it was visited or not
(Open to other name suggestions)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidzhao Do you have any examples or scenarios where you’d want a task that can be skipped ahead?
is it robust enough for other use cases as a task?
For now we're mostly focused on input collection, do you have other use cases in mind?
No description provided.