Skip to content

Impossible to set specific prompts for Crew with prompt_file #5931

@baleksey

Description

@baleksey

Feature Area

Core functionality

Is your feature request related to a an existing bug? Please link it here.

Setting crew like this:

crew = Crew(
        agents=[agent], 
        tasks=[task], 
        prompt_file="/path/to/new_prompts.json")

do absolutely nothing. In source code it uses prompt_file only in _create_manager_agent function. It doesn't change prompts for current crew/agents.

Is there any workarounds/hacks to set specific prompts for specific agent/crew/task (not globally with ../translations/en.json) before this bug will be fixed?

Describe the solution you'd like

It must function as expected: setting prompt_file for specific crew will change prompts for this crew/agents/tasks.

Describe alternatives you've considered

No response

Additional context

No response

Willingness to Contribute

I can test the feature once it's implemented

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions