Method ValidateWorkspaceArguments
- Namespace
- Oscova.Agents.Middleware
- Assembly
- Oscova.Agents.dll
ValidateWorkspaceArguments(AIFunction, AIFunctionArguments, IReadOnlyList<AllowedDirectory>)
Validates a registered function's path arguments against the executing environment's grants.
public static void ValidateWorkspaceArguments(AIFunction function, AIFunctionArguments arguments, IReadOnlyList<AllowedDirectory> allowedDirectories)Parameters
functionAIFunctionargumentsAIFunctionArgumentsallowedDirectoriesIReadOnlyList<AllowedDirectory>