2.8.0 (2026-10-19)
Features Added
- Added experimental OpenTelemetry GenAI tracing and metrics for agent-version creation and Azure response operations,
including synchronous, asynchronous, streaming, and raw-response methods. Instrumentation emitscreate_agent,
chat, andinvoke_agentspans, plusgen_ai.client.operation.durationandgen_ai.client.token.usagemetrics.
SetAZURE_EXPERIMENTAL_ENABLE_GENAI_TRACING=trueto enable it and configure tracing and metrics per client through
AgentsClientBuilder.clientOptions(...)usingTracingOptionsandMetricsOptions. Message content capture is
disabled by default; enable it withOTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true.
AZURE_TRACING_GEN_AI_CONTENT_RECORDING_ENABLEDremains supported as a fallback when the newer setting is unset. - Added tracing samples for custom OpenTelemetry configuration, console export, and Azure Monitor export.
- Added preview Microsoft Copilot harness and built-in toolset support for prompt agents through
MicrosoftCopilotHarness,MicrosoftCopilotToolsetPreview, and related configuration types.
AgentsClientBuilder.allowPreview(true)and beta agent clients include theMicrosoftCopilot=V1Previewfeature
opt-in. The legacy GitHub Copilot types remain available for compatibility.
Breaking Changes
- Flattened the preview voice response models. Removed
VoiceResponseBaseandVoiceAgentRealtimeResponseBase;
useVoiceResponseandVoiceAgentRealtimeResponsedirectly. Response properties and typed token-limit accessors
are now declared on those concrete models. - Renamed
VoiceResponseBaseObjecttoVoiceResponseObjectTypeand replacedgetObject()withgetObjectType()
onVoiceResponseandVoiceAgentRealtimeResponse. The JSON property remainsobject. - Renamed the preview Teams Phone binding models from
CreateTeamsPhoneExtensionTelephonyBindingInput,
TeamsPhoneExtensionTelephonyBinding, andTeamsPhoneExtensionTelephonyBindingListItemto
CreateTeamsPhoneExtensibilityTelephonyBindingInput,TeamsPhoneExtensibilityTelephonyBinding, and
TeamsPhoneExtensibilityTelephonyBindingListItem, respectively. - Renamed
TelephonyProvider.TEAMS_PHONE_EXTENSIONand
TelephonyCallLifecycleEventSource.TEAMS_PHONE_EXTENSIONtoTEAMS_PHONE_EXTENSIBILITY.
Their serialized value changed fromteams_phone_extensiontoteams_phone_extensibility.
Bugs Fixed
- Fixed typed asynchronous list operations to forward the page-size hint supplied through
PagedFlux.byPage(...),
including when resuming from a continuation token, instead of ignoring it.
Other Changes
- Regenerated from the updated Foundry TypeSpec specification.
- Updated
SessionConfigurationdocumentation to reflect the service-supported maximum idle timeout of 14,400 seconds
(four hours); the default remains 900 seconds.