Table of Contents

Method SaveThreadAsync

Namespace
Oscova.Agents.Conversations
Assembly
Oscova.Agents.dll

SaveThreadAsync(string, ChatThread, bool, CancellationToken)

Persists a chat thread and optionally marks it current.

Task SaveThreadAsync(string userId, ChatThread thread, bool setCurrent = true, CancellationToken ct = default)

Parameters

userId string
thread ChatThread
setCurrent bool
ct CancellationToken

Returns

Task