Property StateKeys
- Namespace
- Oscova.Agents.Providers
- Assembly
- Oscova.Agents.dll
StateKeys
Gets the set of keys used to store the provider state in the Microsoft.Agents.AI.AgentSession.StateBag.
public override IReadOnlyList<string> StateKeys { get; }Property Value
Remarks
The default value is a single-element set containing the name of the concrete type (e.g. "TextSearchProvider").
Implementations may override this to provide custom keys, for example when multiple
instances of the same provider type are used in the same session, or when a provider
stores state under more than one key.