Method ReadDailyLogAsync
- Namespace
- Oscova.Agents.Memory
- Assembly
- Oscova.Agents.dll
ReadDailyLogAsync(string, int, CancellationToken)
Reads the user's daily log relative to the user's current local date.
Task<(DateOnly Date, string? Content)> ReadDailyLogAsync(string userId, int daysAgo = 0, CancellationToken ct = default)Parameters
userIdstring-
The user whose daily log should be read.
daysAgoint-
How many days before the user's current local date should be read.
ctCancellationToken-
A token that can cancel the read.