Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/eidolon-resource/_shared/latest--RollingMemoryUnit.json
Parent schema eidolon-resource
Type: object

Memory unit that only retrieves the most recent messages that are under a token limit. Does not summarize removed messages.

Properties

implementation const: "RollingMemoryUnit" required
Constant: "RollingMemoryUnit"
encoding string

tiktoken encoding to use when counting tokens

Default: "o200k_base"
token_limit integer

The maximum number of message tokens to sent to llm

Default: 32000