Change8

Migrating to DSPy 3.1.3

Version 3.1.3 introduces 2 breaking changes. This guide details how to update your code.

Released: 2/5/2026

2
Breaking Changes
2
Migration Steps
3
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

CodeInterpreterRLMgepa

Breaking Changes

Issue #1

The GEPA tool optimization feature has been removed. If you were relying on this feature, you must update your usage.

Issue #2

RLM tools now take a list instead of a dictionary for serialization. Update tool definitions to pass arguments as a list.

Migration Steps

  1. 1
    If using GEPA tool optimization, remove related configurations as the feature was removed.
  2. 2
    Update RLM tool definitions to pass arguments as a list instead of a dictionary.

Release Summary

This release focuses on stabilizing RLMs, particularly around tool usage and message parsing, and updates the GEPA dependency to include bug fixes and cached eval support. A previously planned feature regarding native reasoning was reverted.

Need More Details?

View the full release notes and all changes for DSPy 3.1.3.

View Full Changelog