Skip to content

v1.1.1: DSPy 3.5 support

Choose a tag to compare

@Veloce-AI Veloce-AI released this 10 Nov 18:50
· 65 commits to main since this release

DSPy 3.5 support. Agent Adapter now works with DSPy 3.5 and 3.4.

pip install -U "agent-adapter[dspy]"

Added

  • dspy_compress_prompt(prompt, policy) in agent_adapter.integrations.dspy, and the "dspy" compression format for the lm15 messages in a DSPy 3.5 Prompt. It takes what Adapter.format returns on DSPy 3.5 or 3.4 and gives back the same kind.

Fixed

  • DSPy 3.5 support. Tools already ran unchanged; the compression adapter example failed because DSPy 3.5 adapters return a Prompt, not chat dicts. The examples and contract tests now cover DSPy 3.5 (XMLAdapter default, the tool_calls and submit ReAct) and 3.4.

Full changelog: https://github.com/VeloceAI/agent-adapter/blob/main/CHANGELOG.md