crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

Any way to set crew Input Arguments at runtime?

Open vmsaif opened this issue 9 months ago • 1 comments

I am using the .yaml files for agents and tasks. So to send arguments to those agents or tasks, we are supposed to call kickoff() like this at main:

myArgs = {
      'user_info_orgainzed_file_path': file_path
}
crew().kickoff(inputs=myArgs)

Any way to set the variables at runtime and not declaring at the main? What I mean to say, what are the other ways to set the myArgs?

vmsaif avatar May 06 '24 23:05 vmsaif

You dont need to use the inputs method, you can just define it all in your agents / tasks for example

theCyberTech avatar May 07 '24 00:05 theCyberTech

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.

github-actions[bot] avatar Aug 17 '24 12:08 github-actions[bot]

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

github-actions[bot] avatar Aug 23 '24 12:08 github-actions[bot]