Devin AI
615f6ad9d6
fix: handle empty documents list in KnowledgeStorage.save() and asave()
...
Fixes #4277
When KnowledgeStorage.save() or asave() is called with an empty documents
list, the method now returns early instead of propagating a low-level
ValueError from ChromaDB's upsert operation.
This is a valid edge case that can occur in real-world workflows (e.g.,
after filtering, retrieval failures, or conditional logic), and should
be handled gracefully as a no-op.
Co-Authored-By: João <joao@crewai.com >
2026-01-25 13:04:47 +00:00
..
2026-01-16 16:57:31 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-15 15:38:40 -03:00
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-01-21 11:12:10 -05:00
2025-12-05 13:23:26 -05:00
2025-12-04 09:38:39 -08:00
2026-01-25 13:04:47 +00:00
2026-01-23 15:13:25 -05:00
2025-11-26 21:37:55 -08:00
2026-01-21 11:12:10 -05:00
2025-11-29 16:55:24 -05:00
2025-11-05 07:19:09 -05:00
2025-12-04 15:05:50 -08:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-12-04 13:34:29 -08:00
2025-12-05 13:23:26 -05:00
2026-01-23 15:13:25 -05:00
2025-11-29 16:55:24 -05:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2026-01-23 15:13:25 -05:00
2025-12-25 21:04:10 -03:00
2026-01-22 17:44:03 -08:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2026-01-23 15:13:25 -05:00
2025-12-01 18:56:56 -05:00
2025-10-20 14:10:19 -07:00
2025-12-30 11:36:31 -08:00
2026-01-23 15:13:25 -05:00
2026-01-20 21:44:45 -08:00
2025-10-20 14:10:19 -07:00
2025-11-24 17:35:12 -05:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2025-12-25 21:04:10 -03:00
2025-12-25 21:04:10 -03:00
2025-10-20 14:10:19 -07:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-11-29 16:55:24 -05:00
2025-11-29 16:55:24 -05:00
2026-01-23 15:13:25 -05:00
2026-01-20 21:44:45 -08:00
2025-12-11 12:03:33 -05:00
2025-10-20 14:10:19 -07:00