Class VisionToolProvider
- Namespace
- Oscova.Agents.Providers
- Assembly
- Oscova.Agents.dll
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 sealed class VisionToolProvider : AIContextProviderInheritance
-
AIContextProvider
Inherited Members
-
AIContextProvider.InvokingAsync(AIContextProvider.InvokingContext, CancellationToken)AIContextProvider.InvokedAsync(AIContextProvider.InvokedContext, CancellationToken)AIContextProvider.GetService(Type, object?)AIContextProvider.GetService<TService>(object?)AIContextProvider.StateKeys
Constructors
- VisionToolProvider(IChatClient)
-
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.
Methods
- ProvideAIContextAsync(InvokingContext, CancellationToken)
-
When overridden in a derived class, provides additional AI context to be merged with the input context for the current invocation.