crewAIInc / crewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
https://crewai.com
MIT License
18.95k stars 2.61k forks source link

Langchain Guardrails import warning #579

Closed cactusjuan closed 2 weeks ago

cactusjuan commented 4 months ago

I copied one of the example templates and every time I run it, I get this warning at the beginning of the script running. The script still runs with no other issues. LangChainDeprecationWarning: Importing GuardrailsOutputParser from langchain.output_parsers is deprecated. Please replace the import with the following: from langchain_community.output_parsers.rail_parser import GuardrailsOutputParser warnings.warn(

I updated all my libraries via poetry and I still getting this warning. Has anyone else reported this issue? I know it's not your library but, was curious if you had to do anything on the crewAI end to fix it.

slavakurilyak commented 3 months ago

You are seeing a LangChain warning which is not something crewAI controls but rather relies on

github-actions[bot] commented 2 weeks ago

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] commented 2 weeks ago

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