Skip to main content

Variable: DEFAULT_BUDGET_ALLOCATION

const DEFAULT_BUDGET_ALLOCATION: MemoryBudgetAllocation

Defined in: packages/agentos/src/cognition/memory/core/config.ts:666

Each section's default share of the memory block's budget (after the preamble). A share is the least a section with content gets: what an empty or under-filled section leaves flows to the sections that still have content, in MEMORY_BUDGET_SPILL_ORDER (Semantic Recall, Recent Episodic, then the block's order), so a store holding only episodic traces can fill the whole budget with them.