Skip to content

AgentFunctionTypesMiswiredAnalyzer

NexusLabs.Needlr.AgentFramework.Analyzers

AgentFunctionTypesMiswiredAnalyzer Class

Analyzer that detects types listed in FunctionTypes on [NeedlrAiAgent] that have no [AgentFunction] methods, causing the agent to silently receive zero tools.

public sealed class AgentFunctionTypesMiswiredAnalyzer

Inheritance Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer 🡒 AgentFunctionTypesMiswiredAnalyzer

Remarks

\<b>NDLRMAF014\</b> (Warning): A type in FunctionTypes has no [AgentFunction] methods.