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

Tasks need predefiend input: Don't use input() but use human tool #85

Closed
nkeilar opened this issue Apr 3, 2024 · 3 comments
Closed

Comments

@nkeilar
Copy link

nkeilar commented Apr 3, 2024

Maybe I'm missing something obvious, but if Agents run Tasks, then inputs to tasks may not be know at run time. Currently it seems Tasks need to be defined with inputs passed in the main.py file. But if I want to pass an intermediate value to a Task that is only know at run time then how to do that?

For all intensive purposes, how do you refactor the job posting example to not use input, but instead have an a agent, like top_dog_manager_agent who discusses what inputs it needs with the human, then passes those to the tasks?

Sorry the is probably obvious to someone out there but I haven't been able to find an example

Cheers

@nkeilar
Copy link
Author

nkeilar commented Apr 8, 2024

I've worked around this by having the filename be a static filename, so the tasks just read and write to that and don't have to dynamically pass the filename between them. This allows me to setup tasks in the main.py file that reference a text/jston file that will be updated with contents.

Copy link

github-actions bot commented Sep 4, 2024

This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Copy link

This issue was closed because it has been stale for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant