-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[BUG] Cannot delete memories when not using OpenAi #2023
Comments
I'm having the same problem as the Additional context part. |
@androw same! Talking about reset though, I found a workaround, you can use the following code:
Where text_source is: |
I may encounter same issue/bug, see #2033 for possible workaround, FYI. |
… LLMs - Add environment variables for default embedding provider - Support Ollama as default embedding provider - Add tests for memory reset with different providers - Update documentation Fixes #2023 Co-Authored-By: Joe Moura <[email protected]>
… LLMs - Add environment variables for default embedding provider - Support Ollama as default embedding provider - Add tests for memory reset with different providers - Update documentation Fixes #2023 Co-Authored-By: Joe Moura <[email protected]>
@heckfy88, the above should get resolved with the above PR, kindly close the issue, if this works. |
Description
I'm trying to remove all memories, but when I type "crewai reset-memories -a" I receive an error that haven't configured OpenAI API key, which shouldn't be needed because I'm using Ollama's local LLM and embeddings.
Steps to Reproduce
Expected behavior
No error, memories purged
Screenshots/Code snippets
Operating System
Other (specify in additional context)
Python Version
3.12
crewAI Version
0.100.1
crewAI Tools Version
0.33
Virtual Environment
Venv
Evidence
Possible Solution
this command should also use other LLMs
Additional context
I also encounter problems when I include embedder config in crew, although the same block in agent works:
[2025-02-02 14:11:13][ERROR]: Failed to upsert documents: APIStatusError.init() missing 2 required keyword-only arguments: 'response' and 'body'
[2025-02-02 14:11:13][WARNING]: Failed to init knowledge: APIStatusError.init() missing 2 required keyword-only arguments: 'response' and 'body'
ERROR:root:Error during entities search: Embedding dimension 1024 does not match collection dimensionality 768
The text was updated successfully, but these errors were encountered: