v0.21.1
What's Changed
- Remove duplicate chat prompting section from readme by @jackmpcollins in #193
- Bump ruff from 0.3.0 to 0.4.1 by @dependabot in #192
- Bump openai from 1.17.1 to 1.23.2 by @dependabot in #190
- Bump pydantic from 2.6.3 to 2.7.0 by @dependabot in #191
- Include generated text in error message for "string not expected" by @jackmpcollins in #195
Full Changelog: v0.21.0...v0.21.1
The error message for when the model returns a string when not expected now contains the start of the returned string. For example:
StructuredOutputError: String was returned by model but not expected. You may need to update your prompt to encourage the model to return a specific type. Model output: '{ "name": "return_list_of_int", "arguments": { "properties": { "value": { "items": [1, 2, 3], [...]'