Method SaveThreadAsync
- Namespace
- Oscova.Agents.Conversations
- Assembly
- Oscova.Agents.dll
SaveThreadAsync(string, ChatThread, bool, CancellationToken)
Persists a chat thread and optionally marks it current.
public Task SaveThreadAsync(string userId, ChatThread thread, bool setCurrent = true, CancellationToken ct = default)Parameters
userIdstringthreadChatThreadsetCurrentboolctCancellationToken