Method Restore
- Namespace
- Oscova.Agents.Conversations
- Assembly
- Oscova.Agents.dll
Restore(AgentSession, List<ChatMessage>)
Replaces the session history after a stopped or failed run.
[SuppressMessage("Design", "MA0016", Justification = "SetInMemoryChatHistory takes a List<ChatMessage>.")]
public static void Restore(AgentSession session, List<ChatMessage> history)Parameters
sessionAgentSessionhistoryList<ChatMessage>