Patch Fixes
- Fix logging error in
SKChatCompletionAdapter
#5893 - Fix missing system message in the model client call during reflect step when
reflect_on_tool_use=True
#5926 (Bug introduced in v0.4.8) - Fixing listing directory error in FileSurfer #5938
Security Fixes
- Use
SecretStr
type for model clients' API key. This will ensure the secret is not exported when callingmodel_client.dump_component().model_dump_json()
. #5939 and #5947. This will affectOpenAIChatCompletionClient
andAzureOpenAIChatCompletionClient
, andAnthropicChatCompletionClient
-- 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: python-v0.4.9...python-v0.4.9.2