← Questions

Conversation history under a token budget

0
SierraCodingLast asked Oct 2026

Fit a conversation history into a token budget for the next model call, keeping the most important messages and dropping or summarizing the rest. Reported on 1point3acres' Sierra bank; reconstructed in our own words.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding