v0.22.0
What's Changed
- π Forced function calling using the new
tool_choice: "required"
argument from OpenAI. This means no moreStructuredOutputError
caused by the model returning a string when it was not in the return annotation (for prompt-functions with a union return type. Single return types were already forced).
PRs
- Use tool_choice required for OpenaiChatModel by @jackmpcollins in #201
- Bump tqdm from 4.66.2 to 4.66.3 by @dependabot in #200
- Bump mkdocs from 1.5.3 to 1.6.0 by @dependabot in #198
- Bump pytest from 8.1.1 to 8.2.0 by @dependabot in #197
- Bump mypy from 1.9.0 to 1.10.0 by @dependabot in #196
Full Changelog: v0.21.1...v0.22.0