Table of Contents

Method ClearCache

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

ClearCache()

Clears the local skill cache.

public int ClearCache()

Returns

int

The number of cached items removed.

Examples

Clearing the skill cache:

using var loader = new SkillRemoteLoader();
int removed = loader.ClearCache();
Console.WriteLine($"Removed {removed} cached skills");