AutoGen — python v0.4.9.2
AutoGen Python releases v0.4.9.2 with bug fixes for logging, missing system messages, and FileSurfer errors, plus a security fix preventing API key exposure during model client serialisation.
Patch Fixes Fix logging error in `SKChatCompletionAdapter` https://github.com/microsoft/autogen/pull/5893 Fix missing system message in the model client call during reflect step when `reflect_on_tool_use=True` https://github.com/microsoft/autogen/pull/5926 (Bug introduced in v0.4.8) Fixing listing directory error in FileSurfer https://github.com/microsoft/autogen/pull/5938 Security Fixes Use `SecretStr` type for model clients' API key. This will ensure the secret is not exported when calling `model_client.dump_component().model_dump_json()`.
#5939 and #5947. This will affect `OpenAIChatCompletionClient` and `AzureOpenAIChatCompletionClient`, and `AnthropicChatCompletionClient` -- the API keys will no longer be exported when you serialize the model clients. It is recommended to use environment-based or token-based authentication rather than passing the API keys around as data in configs. Full Changelog: https://github.com/microsoft/autogen/compare/python-v0.4.9...python-v0.4.9.2
- github.comautogen python-v0.4.9.2primary