Table of Contents

Constructor VisionToolProvider

Namespace
Oscova.Agents.Providers
Assembly
Oscova.Agents.dll

VisionToolProvider(IChatClient, Func<IReadOnlyList<AllowedDirectory>>)

Registers Oscova.Agents.Tools.Vision.AnalyzeImageTool as an agent tool. Intended to be added to the provider chain only when the selected model provider supports images; registration itself is the capability gate.

public VisionToolProvider(IChatClient chatClient, Func<IReadOnlyList<AllowedDirectory>> workspaceResolver)

Parameters

chatClient IChatClient
workspaceResolver Func<IReadOnlyList<AllowedDirectory>>