1.0.0b7 (2025-03-06)
Features added
- Add support for parsing URL citations in Agent text messages. See new classes
MessageTextUrlCitationAnnotation
andMessageDeltaTextUrlCitationAnnotation
. - Add enum value
ConnectionType.API_KEY
to support enumeration of generic connections that uses API Key authentication.
Sample updates
- Update sample
sample_agents_bing_grounding.py
with printout of URL citation. - Add new samples
sample_agents_stream_eventhandler_with_bing_grounding.py
andsample_agents_stream_iteration_with_bing_grounding.py
with printout of URL citation.
Bugs Fixed
- Fix a bug in deserialization of
RunStepDeltaFileSearchToolCall
returned during Agent streaming (see GitHub issue 48333). - Fix for Exception raised while parsing Agent streaming response, in some rare cases, for multibyte UTF-8 languages like Chinese.
Breaking Changes
- Rename input argument
assistant_id
toagent_id
in all Agent methods to align with the "Agent" terminology. Similarly, rename allassistant_id
properties on classes.