Change8

0.193.0

Breaking Changes
📦 crewaiView on GitHub →
1 breaking8 features🐛 4 fixes🔧 8 symbols

Summary

This release introduces thread-safe context management and unified RAG storage while fixing critical initialization bugs in the OpenAI adapter and optimizing Mem0 metadata storage.

⚠️ Breaking Changes

  • Message storage has been removed from metadata in Mem0; ensure any logic relying on message history within metadata is updated to use primary storage.

Migration Steps

  1. Update RagTool references to use the CrewAI native RAG implementation.
  2. Verify that any code relying on Mem0 metadata for message storage is refactored, as this data is no longer stored there.

✨ New Features

  • Introduced thread-safe platform context management.
  • Added test duration caching for optimized pytest-split runs.
  • Added ephemeral trace improvements for enhanced trace control.
  • Made search parameters for RAG, knowledge, and memory fully configurable.
  • Enabled ChromaDB to use OpenAI API for embedding functions.
  • Added deeper observability tools for user-level insights.
  • Unified RAG storage system with instance-specific client support.
  • Added missing event exports to __init__.py for consistent module behavior.

🐛 Bug Fixes

  • Fixed handling of the model parameter during OpenAI adapter initialization.
  • Resolved test duration cache issues in CI workflows.
  • Fixed flaky test related to repeated tool usage by agents.
  • Fixed L2 distance metric support for backward compatibility in vector search.

🔧 Affected Symbols

OpenAI adapter__init__.pyMem0RagToolChromaDBpytest-splitlanggraphopenai agent adapters