Repository navigation
v1.1.1: DSPy 3.5 support
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)inagent_adapter.integrations.dspy, and the"dspy"compression format for the lm15 messages in a DSPy 3.5Prompt. It takes whatAdapter.formatreturns 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, thetool_callsandsubmitReAct) and 3.4.
Full changelog: https://github.com/VeloceAI/agent-adapter/blob/main/CHANGELOG.md