1.2.0b4 (2026-02-12)
Features Added
- Agent Session Configuration: Added
AgentSessionConfigTypedDict for configuring Azure AI Foundry agents at connection time:agent_name: The name of the agent (required)project_name: The Foundry project containing the agent (required)agent_version: Optional version specificationconversation_id: Optional existing conversation ID to continueauthentication_identity_client_id: Optional client ID for authenticationfoundry_resource_override: Optional Foundry resource override
- Server Warning Events: Added
ServerEventWarningandServerEventWarningDetailsfor handling non-fatal warnings from the service - New Event Type: Added
ServerEventType.WARNINGfor warning event handling
Breaking Changes
- Removed Foundry Agent Tools: The following classes and enums related to Foundry agent tools have been removed:
FoundryAgentTool- UseAgentSessionConfigwithconnect()insteadResponseFoundryAgentCallItemFoundryAgentContextTypeenumToolType.FOUNDRY_AGENTenum valueItemType.FOUNDRY_AGENT_CALLenum valueServerEventResponseFoundryAgentCallArgumentsDeltaServerEventResponseFoundryAgentCallArgumentsDoneServerEventResponseFoundryAgentCallInProgressServerEventResponseFoundryAgentCallCompletedServerEventResponseFoundryAgentCallFailed- Related
ServerEventTypeenum values for Foundry agent events