Skip to main content

Module context

Module context 

Source
Expand description

What each iteration is allowed to remember.

A loop that re-sends every prior episode grows its own prompt without bound and bills accordingly; a loop that sends nothing produces the byte-identical prompt it already failed with. Neither is acceptable for a run measured in weeks, so each iteration is compressed to a summary and only the last few summaries are carried forward.

Structsยง

ContextPolicy