NoopAgentSessionStore Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This store implementation does not have any store under the hood and therefore does not store sessions. GetSessionAsync(AIAgent, String, CancellationToken) always returns a new session.
public sealed class NoopAgentSessionStore : Microsoft.Agents.AI.Hosting.AgentSessionStore
type NoopAgentSessionStore = class
inherit AgentSessionStore
Public NotInheritable Class NoopAgentSessionStore
Inherits AgentSessionStore
- Inheritance
Constructors
| Name | Description |
|---|---|
| NoopAgentSessionStore() | |
Methods
| Name | Description |
|---|---|
| GetSessionAsync(AIAgent, String, CancellationToken) |
Retrieves a serialized agent session from persistent storage. |
| SaveSessionAsync(AIAgent, String, AgentSession, CancellationToken) |
Saves a serialized agent session to persistent storage. |