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

Fix encoding issue when loading i18n json file #1341

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

guojingfeng1994
Copy link
Contributor

When I use the custom i18n json file path, I get a gbk encoding error.

    crew = Crew(
        agents=[researcher, writer],
        tasks=[task],
        process=Process.hierarchical,
        manager_llm="gpt-4o",
        verbose=True,
        prompt_file="./translation/zh-CN.json"
    )

    crew.kickoff()

@joaomdmoura joaomdmoura merged commit 699be48 into crewAIInc:main Sep 23, 2024
2 of 4 checks passed
@joaomdmoura
Copy link
Collaborator

Good catch!

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.

2 participants