python-v0.5.7
What's New
AzureAISearchTool Improvements
The Azure AI Search Tool API now features unified methods:
create_full_text_search()(supporting"simple","full", and"semantic"query types)create_vector_search()andcreate_hybrid_search()
We also added support for client-side embeddings, while defaults to service embeddings when client embeddings aren't provided.
If you have been using create_keyword_search(), update your code to use create_full_text_search() with "simple" query type.
- Simplify Azure Ai Search Tool by Jay Prakash Thakur (@jay-thakur) in #6511
SelectorGroupChat Improvements
To support long context for the model-based selector in SelectorGroupChat, you can pass in a model context object through the new model_context parameter to customize the messages sent to the model client when selecting the next speaker.
- Add
model_contexttoSelectorGroupChatfor enhanced speaker selection by Abhijeetsingh Meena (@Ethan0456) in #6330
OTEL Tracing Improvements
We added new metadata and message content fields to the OTEL traces emitted by the SingleThreadedAgentRuntime.
- improve Otel tracing by peterychang in #6499
Agent Runtime Improvements
- Add ability to register Agent instances by peterychang in #6131
Other Python Related Changes
- Update website 0.5.6 by Eric Zhu (@ekzhu) in #6454
- Sample for integrating Core API with chainlit by DavidYu00 in #6422
- Fix Gitty prompt message by Emmanuel Ferdman (@emmanuel-ferdman) in #6473
- Fix: Move the createTeam function by long (@xionnon) in #6487
- Update docs.yml by Victor Dibia (@victordibia) in #6493
- Add gpt 4o search by Victor Dibia (@victordibia) in #6492
- Fix header icons focus and hover style for better accessibility by AndreaTang123 in #6409
- improve Otel tracing by peterychang in #6499
- Fix AnthropicBedrockChatCompletionClient import error by Victor Dibia (@victordibia) in #6489
- fix/mcp_session_auto_close_when_Mcpworkbench_deleted by SongChiyoung (@SongChiYoung) in #6497
- fixes the issues where exceptions from MCP server tools aren't serial… by Peter Jausovec (@peterj) in #6482
- Update version 0.5.7 by Eric Zhu (@ekzhu) in #6518
- FIX/mistral could not recive name field by SongChiyoung (@SongChiYoung) in #6503
New Contributors
- Emmanuel Ferdman (@emmanuel-ferdman) made their first contribution in #6473
Full Changelog: python-v0.5.6...python-v0.5.7