Skip to content

python-1.20.0

Latest
Compare
Choose a tag to compare
@moonbox3 moonbox3 released this 29 Jan 08:57
· 6 commits to main since this release
d015742

Release Notes

New Features


Note: The OpenAIChatCompletion and AzureChatCompletion classes now support an instruction_role keyword argument. This is particularly useful when using reasoning models like o1. When set, any AuthorRole.SYSTEM messages are converted to AuthorRole.DEVELOPER before being sent to the model.

Example usage:

chat_service = OpenAIChatCompletion(service_id=service_id, instruction_role="developer")

Python Package Updates

Enhancements and Fixes

  • Improve handling for kernel plugin from file. #10286 by @moonbox3

  • Improve hashing of CMC and SCMC items. Add tests. #10332 by @moonbox3

  • Improve agent samples and chat history handling. #10301 by @eavanvalkenburg

  • Allow enums to be passed into on_function_result. Improve handling of FRC result so it can be hashed. #10316 by @moonbox3

Bug Fixes and Improvements

Full Changelog: python-1.19.0...python-1.20.0