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

Use CREWAI_PROMPT_FILE environment variable. #777

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mbarnathan
Copy link

CrewAI initializes several I18N instances deep within the library at package initialization time, using the default prompts.
Despite the ability to specify prompt files within a Crew, the defaults will still be used in several places throughout the
workflow of calling that Crew. Overriding the defaults consistently throughout the package currently requires monkeypatching.

This change will allow overriding the default prompt file location in the $CREWAI_PROMPT_FILE environment variable, allowing consistency throughout the library.

CrewAI initializes several I18N instances deep within the library
at package initialization time, using the default prompts.
This makes overriding the defaults consistently throughout the
package very difficult, requiring monkeypatching.

This change will allow overriding the default prompt file location
in the $CREWAI_PROMPT_FILE environment variable, allowing
consistency throughout the library.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant