Table of Contents

Method GetThreadAsync

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

GetThreadAsync(string, string, CancellationToken)

Returns one chat thread when it exists, resolving in-memory incognito threads first.

Task<ChatThread?> GetThreadAsync(string userId, string threadId, CancellationToken ct = default)

Parameters

userId string
threadId string
ct CancellationToken

Returns

Task<ChatThread?>