Table of Contents

Method ReadTopicMemoryAsync

Namespace
Oscova.Agents.Memory
Assembly
Oscova.Agents.dll

ReadTopicMemoryAsync(string, string, CancellationToken)

Reads a long-term memory topic file.

Task<string?> ReadTopicMemoryAsync(string userId, string topic, CancellationToken ct = default)

Parameters

userId string

The user whose topic should be read.

topic string

The lowercase kebab-case topic slug.

ct CancellationToken

A token that can cancel the read.

Returns

Task<string?>

The stored topic text, or null when no topic exists.