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.GraphAllEdgesOptional Field¶
NDLRMAF024: All edges from a fan-out node are optional.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphConditionMethodInvalid Field¶
NDLRMAF028: Condition method not found or invalid signature.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphCycleDetected Field¶
NDLRMAF016: A cycle was detected in an agent graph.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphEdgeSourceNotAgent Field¶
NDLRMAF020: A class has [AgentGraphEdge] but is not a declared agent.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphEdgeTargetNotAgent Field¶
NDLRMAF019: An [AgentGraphEdge] references a target that is not a declared agent.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphEntryPointNotAgent Field¶
NDLRMAF021: A class has [AgentGraphEntry] but is not a declared agent.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphMultipleEntryPoints Field¶
NDLRMAF018: A named agent graph has multiple entry points.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphNoEntryPoint Field¶
NDLRMAF017: A named agent graph has no entry point.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphReducerMethodInvalid Field¶
NDLRMAF029: Reducer method not found or invalid signature.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphTerminalNodeHasOutgoingEdges Field¶
NDLRMAF027: A terminal node has outgoing edges.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.GraphUnreachableAgent Field¶
NDLRMAF022: An agent graph contains unreachable agents.
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.ToolResultToStringCall Field¶
NDLRMAF015: .ToString() is called on a tool result property that may
contain a JsonElement. Use ToolResultSerializer.Serialize() instead.
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.WaitAnyIncompatibleWithCreateGraphWorkflow Field¶
NDLRMAF025: CreateGraphWorkflow called on a graph that has WaitAny nodes.
Field Value¶
Microsoft.CodeAnalysis.DiagnosticDescriptor
MafDiagnosticDescriptors.WorkflowRunTerminationConditionOnNonAgent Field¶
NDLRMAF009: [WorkflowRunTerminationCondition] declared on a non-agent class.