AgentPrismSessionStateKeys
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe stable keys AgentPrism uses in an AgentSession state bag.
public static class AgentPrismSessionStateKeysInheritance
Section titled “Inheritance”object ← AgentPrismSessionStateKeys
Inherited Members
Section titled “Inherited Members”object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”These values are stable; changing them breaks existing sessions’ history.
Fields
Section titled “Fields”ChatHistory
Section titled “ ChatHistory”The key the chat history provider stores the conversation identifier under.
public const string ChatHistory = "AgentPrism.ChatHistory"Field Value
Section titled “Field Value”Remarks
Section titled “Remarks”The provider instance is shared across all sessions (Microsoft Agent Framework’s explicit warning), so the conversation identifier is carried in the session’s own state, not in the provider’s field.