Skip to main content

COMPACTED_TOKENS

Constant COMPACTED_TOKENS 

Source
const COMPACTED_TOKENS: u32 = 40_000;
Expand description

What a conversation is taken to need after /compact: the summary, the system prompt and the tool definitions. A model whose context is smaller than the conversation can still take it compacted when its context is above this.