2.0.0-beta.2 (2026-03-04)
Features Added
- Added
buildOpenAIClient()andbuildOpenAIAsyncClient()methods toAgentsClientBuilderfor simplified creation of OpenAI clients with default Azure setup - Added new agent tool samples:
CodeInterpreterAgent,FileSearchAgent,FunctionCallAgent,McpAgent, andWebSearchAgent(sync and async variants) - Added
actionproperty toImageGenToolwith newImageGenActionEnum(values:GENERATE,EDIT,AUTO). - Added
GPT_IMAGE_1_5toImageGenToolModel. - Added container skill types:
ContainerSkill,ContainerSkillType,ContainerAutoParam,ContainerNetworkPolicyParam, and related network policy types (ContainerNetworkPolicyAllowlistParam,ContainerNetworkPolicyDisabledParam,ContainerNetworkPolicyDomainSecretParam,ContainerNetworkPolicyParamType). - Added environment configuration for
FunctionShellToolParameterandInputItemFunctionShellCallItemParamvia newFunctionShellToolParamEnvironment,FunctionShellCallItemParamEnvironment, and related container/local environment parameter types.InputItemFunctionShellCallItemParam,FunctionShellCallItemParamEnvironment, and related types moved toimplementation/models(internal). - Added
MessageContentandMessageContentTypemodel types; subsequently moved toimplementation/models(internal). - Added skill parameter types:
InlineSkillParam,InlineSkillSourceParam,LocalSkillParam,SkillReferenceParam.
Breaking Changes
- Removed
ContainerAppAgentDefinitionclass andAgentKind.CONTAINER_APPenum value. Thecontainer_appagent kind is no longer supported. - Removed
CONTAINER_AGENTS_V1_PREVIEWfromAgentDefinitionOptInKeysandFoundryFeaturesOptInKeys. TheContainerAgents=V1Previewfeature flag is no longer valid. - Renamed computer action classes to use
Paramsuffix and moved toimplementation/models(internal):Drag→DragParamDragPoint→CoordParamMove→MoveParamScreenshot→ScreenshotParamScroll→ScrollParamType→TypeParamWait→WaitParam
CodeInterpreterContainerAutorenamed toAutoCodeInterpreterToolParam.Summaryrenamed toSummaryTextContentand moved toimplementation/models(internal).- Moved ~100 model classes from
com.azure.ai.agents.modelstocom.azure.ai.agents.implementation.models, removing them from the public API surface. This includesInputItemand all subtypes,Annotation, output content types, and related types. - Removed public methods from
MemoryStoresClient/MemoryStoresAsyncClient:searchMemoriesWithResponseandbeginUpdateMemories(protocol methods acceptingBinaryData),searchMemories(name, scope)(minimal convenience overload), andsearchMemories/beginUpdateMemoriesoverloads acceptingList<ResponseInputItem>. - Renamed model classes for naming consistency:
AgentObjectVersionsrenamed toAgentDetailsVersionsOpenAIErrorrenamed toApiErrorAzureFunctionDefinitionFunctionrenamed toAzureFunctionDefinitionDetails
- Renamed tool classes from
*Paramsuffix to*Parameter:ApplyPatchToolParamrenamed toApplyPatchToolParameterCustomGrammarFormatParamrenamed toCustomGrammarFormatParameterCustomToolParamrenamed toCustomToolParameterFunctionShellToolParamrenamed toFunctionShellToolParameterLocalShellToolParamrenamed toLocalShellToolParameter
OpenApiFunctionDefinition:getDefaultParams()andsetDefaultParams()renamed togetDefaultParameters()andsetDefaultParameters()
Bugs Fixed
- Fixed Memory Stores long-running operations (e.g.
beginUpdateMemories) failing because the requiredFoundry-Featuresheader was not included in poll requests, and custom LRO terminal states ("completed","superseded") were not mapped to standardLongRunningOperationStatusvalues, causing pollers to hang indefinitely. - Fixed request parameter name from
"agent"to"agent_reference"inResponsesClientandResponsesAsyncClientmethodscreateWithAgentandcreateWithAgentConversation
Other Changes
- Enabled and stabilised
MemoryStoresTestsandMemoryStoresAsyncTests(previously@Disabled), with timeout guards to prevent hanging.