Constructor AgentPluginContext
- Namespace
- Oscova.Agents.Plugins
- Assembly
- Oscova.Agents.dll
AgentPluginContext(IToolCredentialResolver, IAgentPluginServices, ILoggerFactory, TimeProvider, string, string)
Creates a plugin context from host-provided services.
public AgentPluginContext(IToolCredentialResolver credentialResolver, IAgentPluginServices services, ILoggerFactory loggerFactory, TimeProvider timeProvider, string pluginDirectory, string modelStorageDirectory)Parameters
credentialResolverIToolCredentialResolver-
The resolver used for plugin-requested credentials.
servicesIAgentPluginServices-
The Host services available to this plugin.
loggerFactoryILoggerFactory-
The logger factory exposed to plugin contributions.
timeProviderTimeProvider-
Resolves the user's current preferred time zone for user-facing timestamps.
pluginDirectorystring-
The fully qualified directory containing the plugin manifest.
modelStorageDirectorystring-
The fully qualified host-owned model storage directory.