Method SetState NamespaceLMKit.Agents.Planning AssemblyLM-Kit.NET.dll SetState(string, object) Stores a value in the context state. public void SetState(string key, object value) Parameters key string The state key. value object The value to store.