Open miagi-quyenhn opened 3 days ago
Can you try the latest version crewai-0.35.8, let us know if still an issue
Can you try the latest version crewai-0.35.8, let us know if still an issue
Hi @theCyberTech , I upgraded crewai to 0.35.8 but the error still occurs, maybe the problem lies in langchain-openai when using chainlit + crewAI application, do you have any suggestions for me?
It's agentops. That's the problem.
self.logger.debug('get api key.AgentOps')
agentops_api_key = os.environ['AGENTOPS_API_KEY']
self.logger.debug('AgentOps initialise')
agentops.init(agentops_api_key)
agentops.start_session()
self.logger.info('crew kickoff start')
self.result = crew.kickoff()
self.logger.info('crew kickoff end')
self.logger.debug('AgentOps terminate')
agentops.end_session("Success")
Removing agentops helps eliminate this error!
I'm having the same problem.. AgentOps doesn't work anymore with CrewAI, but i don't know if the problem is from AgentOps or from CrewAI. Please help because AgentOPS is essential
I'm having the same problem..
Currently I'm having an error when updating crewai from version 0.30.11 to 0.35.0 included with the packages (langchain-openai, embedchain). When running crew.kickoff(), the error 'generator' object does not support the context manager protocol will appear. If anyone has any suggestions to help me resolve this bug, please leave a comment. Thank you!
Environment information: crewai==0.30.11 => 0.35.0 crewai-tools==0.2.6 => 0.4.0 langchain-openai==0.0.5 => 0.1.7 embedchain==0.1.102 => 0.1.109
DEBUG LOG: