Change8

2.6.22

📦 dspyView on GitHub →
4 features🐛 2 fixes🔧 4 symbols

Summary

Version 2.6.22 adds async support for ReAct and mcp tools, introduces caching for async LM calls, improves adapter handling, and fixes several thread‑safety and validation bugs.

✨ New Features

  • Support async path in dspy.ReAct
  • Support args of custom types in dspy mcp tool
  • Add cache to async LM call
  • Adapters: Improve handling of literals and optionals

🐛 Bug Fixes

  • Fix cache thread unsafety
  • Fixes for Adapters (Pydantic validation) and SIMBA (candidate_programs)

🔧 Affected Symbols

dspy.ReActdspy.mcpAdaptersSIMBA