v0.2.7 (2025-05-24)
What's Changed
- Support streaming tool calls from models that pass args as None when there are no function parameters by @DouweM in #1802
- Stream tool calls and structured output from Anthropic as it's received instead of in one go by @DouweM in #1669
- Remove hardcoded
n
parameter from OpenAIModel requests by @kiqaps in #1807 - Add
tool_prefix
option to MCP servers and error on conflicting tool names by @Wh1isper in #1266 - Allow
RunContext
to not be documented whenrequire_parameter_descriptions=True
as it's not passed to the model anyway by @Kevsnz in #1750 - Clean up dataclasses reprs by @dmontagu in #1812
- Addition: Make
prog_name
customizable by @fswair in #1804 - Use
AsyncBeta
instead ofAsyncAnthropic
by @Kludex in #1818
New Contributors
- @kiqaps made their first contribution in #1807
- @Kevsnz made their first contribution in #1750
- @fswair made their first contribution in #1804
Full Changelog: v0.2.6...v0.2.7