DSPy v3.0.1
DSPy releases v3.0.1 with bug fixes to the GEPA optimizer, flexible ToolCalls parsing, pydantic ConfigDict support, and explicit errors for reasoning model requirement violations.
What's Changed Optimizers Fix Evaluate call bug in GEPA by @LakshyAAAgrawal in https://github.com/stanfordnlp/dspy/pull/8647 Lazy import of gepa package by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8638 LMs & Adapters Use pydantic's `ConfigDict` for config; filter litellm warnings by @kurtmckee in https://github.com/stanfordnlp/dspy/pull/8659 Remove hardcoded model list from OpenAIProvider file by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8649 Raise explicit error on not meeting reasoning model's requirement by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8650 Flexible handling of `dspy.ToolCalls` parsing by @chenmoneygithub in https://github.com/stanfordnlp/dspy/pull/8563 Maintenance fix(evaluate): Raise TypeError on return_outputs in evaluate kwargs by @isaacbmiller in https://github.com/stanfordnlp/dspy/pull/8644 Add type hints for UsageTracker by @TomeHirata in https://github.com/stanfordnlp/dspy/pull/8636 New Contributors @bogireddytejareddy made their first contribution in https://github.com/stanfordnlp/dspy/pull/8646 Full Changelog: https://github.com/stanfordnlp/dspy/compare/3.0.0...3.0.1
- github.comdspy 3.0.1primary