Table of Contents

Method CanHandle

Namespace
LMKit.Agents.Delegation
Assembly
LM-Kit.NET.dll

CanHandle(Agent, DelegationRequest)

Checks if the agent's name matches the request target.

public bool CanHandle(Agent agent, DelegationRequest request)

Parameters

agent Agent

The agent to evaluate.

request DelegationRequest

The delegation request.

Returns

bool

true if names match; otherwise, false.