Table of Contents

Field MaximumEntries

Namespace
MailFathom.Application.Agent.Conversations
Assembly
MailFathom.Application.dll

The greatest number of entries of the visible history one conversation may hold.

public const int MaximumEntries = 5000

Returns

int
The greatest number of entries of the visible history one conversation may hold.

Remarks

A conversation is durable and never swept, so without a ceiling one would grow until reading it stopped being possible. Reaching it means this conversation is full rather than that anything failed: what the person does next is start another, and the reply that says so belongs to whichever surface they reached this through. The last PlacesKeptForAnEnding places are kept for an answer's ending, so an answer running when the conversation fills can still end.

It counts what a person can read back and nothing else. The record also holds the technical history — every tool call and tool result a run made, what a call was charged, and every summary a compaction produced — and those arrive several times faster than anything a person sees. Counted under one number with the visible entries, they would make a conversation full while compaction, the mechanism built to keep a long one going, was working perfectly. So this is one of two ceilings rather than one ceiling raised: it bounds what a person can keep working in, which is the same length it always was, and MaximumRecordedEntries bounds what the record holds underneath it. Sweeping the technical entries behind the newest summary instead was refused, being exactly the deletion an append-only record forbids and taking with it what a turn's model input is rebuilt from.

Both are enforced in the statement that writes an entry, each against a counter that statement advances, so no caller can write past either by forgetting to check.