crewAI: [BUG] Memory Rag Storage Issue
Description
Started getting this error regarding rag with the latest version 0.83.0
Steps to Reproduce
Just using the default crew configuration with memory=True.
Expected behavior
no errors
Screenshots/Code snippets
return Crew(
agents=agents,
tasks=tasks,
manager_agent=create_manager_agent(),
process=Process.sequential,
memory=True,
verbose=crewai_verbose,
**kwargs
)
Operating System
Ubuntu 20.04
Python Version
3.10
crewAI Version
0.83.0
crewAI Tools Version
0.14.0
Virtual Environment
Conda
Evidence
2024-11-27 10:42:36,152 - 13765931008 - rag_storage.py-rag_storage:118 - ERROR: Error during short_term search: APIStatusError.__init__() missing 2 required keyword-only arguments: 'response' and 'body'
2024-11-27 10:42:36,457 - 13765931008 - rag_storage.py-rag_storage:118 - ERROR: Error during entities search: APIStatusError.__init__() missing 2 required keyword-only arguments: 'response' and 'body'
Possible Solution
Not sure currently
Additional context
Nothing else
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 7
- Comments: 35
in my case i had to change embedder config to:
So
deployment_idwas changed tomodel- name of deployment made on Azure OpenAI.``> @joaomdmoura @bhancockio I solved this annoying BUG and it took me around 12+ hrs to debug. You can close this issue
In my case I had to specify the “url”, I am using a docker instance and needed to point the url to “host.docker.internal:11434”
I have the same error with memory=True.
crewai version 0.86.0OS: Windows 11pyhton: 3.12.6@messeiry Right now the only solution is to use OpenAI embeddings or the one I did above
This worked beautifully. Thank you.
change
deployment_idformodelas i wrote here: https://github.com/crewAIInc/crewAI/issues/1669#issuecomment-2519951743hey, could you please tell me if it’s resolved for you?
I have tried the latest release 0.95.0, but have the same error as with previous versions 0.86.0