From d4d03def475008da5a4fe025f2a0a131cf586da9 Mon Sep 17 00:00:00 2001 From: Shyju Krishnankutty Date: Thu, 22 Jan 2026 17:11:30 -0800 Subject: [PATCH] Minor cleanup --- .../DurableWorkflowFunctionMetadataTransformer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/DurableWorkflowFunctionMetadataTransformer.cs b/dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/DurableWorkflowFunctionMetadataTransformer.cs index 1f8a6aea98..7175dec41e 100644 --- a/dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/DurableWorkflowFunctionMetadataTransformer.cs +++ b/dotnet/src/Microsoft.Agents.AI.Hosting.AzureFunctions/DurableWorkflowFunctionMetadataTransformer.cs @@ -83,7 +83,7 @@ internal sealed class DurableWorkflowFunctionMetadataTransformer : IFunctionMeta } // Check if the executor type is an agent-related type - if (WorkflowHelper.IsAgentExecutorType(executorBinding.ExecutorType)) + if (executorBinding is AIAgentBinding) { this._logger.LogAddingAgentEntityFunction(executorId, executorBinding.ExecutorType.FullName ?? executorBinding.ExecutorType.Name, workflow.Key); //original.Add(CreateAgentTrigger(functionName));