Files
crewAI/tests/cli/cli_test.py
Lucas Gomide f89c2bfb7e
Some checks failed
Notify Downstream / notify-downstream (push) Has been cancelled
Fix crewai reset-memories when Embedding dimension mismatch (#2737)
* fix: support to reset memories after changing Crew's embedder

The sources must not be added while initializing the Knowledge otherwise we could not reset it

* chore: improve reset memory feedback

Previously, even when no memories were actually erased, we logged that they had been. From now on, the log will specify which memory has been reset.

* feat: improve get_crew discovery from a single file

Crew instances can now be discovered from any function or method with a return type annotation of -> Crew, as well as from module-level attributes assigned to a Crew instance. Additionally, crews can be retrieved from within a Flow

* refactor: make add_sources a public method from Knowledge
2025-05-02 12:40:42 -04:00

12 KiB