Table of Contents

Class WorkflowRequestedException

Namespace
JD.AI.Core.Agents
Assembly
JD.AI.Core.dll

Thrown by IAutoFunctionInvocationFilter implementations when a tool call should be intercepted and routed through workflow planning instead of executing ad-hoc. The AgentLoop catches this to enter workflow generation mode.

public sealed class WorkflowRequestedException : Exception, ISerializable
Inheritance
WorkflowRequestedException
Implements
Inherited Members

Constructors

WorkflowRequestedException()

public WorkflowRequestedException()

WorkflowRequestedException(string)

public WorkflowRequestedException(string triggeringTool)

Parameters

triggeringTool string

WorkflowRequestedException(string, Exception)

public WorkflowRequestedException(string message, Exception innerException)

Parameters

message string
innerException Exception

Properties

TriggeringTool

The tool that triggered the workflow request.

public string TriggeringTool { get; }

Property Value

string