MafDiagnosticDescriptors
NexusLabs.Needlr.AgentFramework.Analyzers¶
MafDiagnosticDescriptors Class¶
Contains diagnostic descriptors for all Needlr Agent Framework analyzers.
Inheritance System.Object 🡒 MafDiagnosticDescriptors
Fields¶
MafDiagnosticDescriptors.AgentFunctionMissingDescription Field¶
NDLRMAF012: [AgentFunction] method has no [Description] attribute.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.AgentFunctionParameterMissingDescription Field¶
NDLRMAF013: Parameter of an [AgentFunction] method is missing a [Description] attribute.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.AgentFunctionTypesMiswired Field¶
NDLRMAF014: A type in FunctionTypes on [NeedlrAiAgent] has no
[AgentFunction] methods.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.CyclicHandoffChain Field¶
NDLRMAF004: A cyclic handoff chain was detected.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.DuplicateSequenceOrder Field¶
NDLRMAF006: Duplicate Order value within the same [AgentSequenceMember] pipeline.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GapInSequenceOrder Field¶
NDLRMAF007: Gap in Order sequence within the same [AgentSequenceMember] pipeline.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GroupChatTooFewMembers Field¶
NDLRMAF002: [AgentGroupChatMember("g")] group "g" has fewer than two members.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.HandoffsToSourceNotNeedlrAgent Field¶
NDLRMAF003: A class has [AgentHandoffsTo] but is not decorated with [NeedlrAiAgent].
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.HandoffsToTargetNotNeedlrAgent Field¶
NDLRMAF001: [AgentHandoffsTo(typeof(X))] target type X is not decorated with [NeedlrAiAgent].
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.OrphanAgent Field¶
NDLRMAF008: Agent participates in no topology declaration.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.PreferAgentTerminationConditionForGroupChat Field¶
NDLRMAF011: Prefer [AgentTerminationCondition] over
[WorkflowRunTerminationCondition] for group chat members.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.TerminationConditionTypeInvalid Field¶
NDLRMAF010: Condition type does not implement IWorkflowTerminationCondition.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.UnresolvedFunctionGroupReference Field¶
NDLRMAF005: An agent declares a FunctionGroups entry with no matching [AgentFunctionGroup] class.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.WorkflowRunTerminationConditionOnNonAgent Field¶
NDLRMAF009: [WorkflowRunTerminationCondition] declared on a non-agent class.