We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa76236 commit 66022eaCopy full SHA for 66022ea
src/PowerShell/PowerShellManager.cs
@@ -16,6 +16,7 @@
16
namespace Microsoft.Azure.Functions.PowerShellWorker.PowerShell
17
{
18
using Microsoft.Azure.Functions.PowerShellWorker.OpenTelemetry;
19
+ using System.Linq;
20
using System.Management.Automation;
21
using System.Text;
22
@@ -247,7 +248,8 @@ public Hashtable InvokeFunction(
247
248
249
_pwsh.AddCommand(Utils.TracePipelineObjectCmdlet);
250
}
- return ExecuteUserCode(isActivityFunction, outputBindings);
251
+ var isOpenAiSkillTrigger = functionInfo.InputBindings.Where(x => x.Value.Type == "assistantSkillTrigger").Any();
252
+ return ExecuteUserCode(isActivityFunction || isOpenAiSkillTrigger, outputBindings);
253
254
255
catch (RuntimeException e)
0 commit comments