io.github.MukundaKatta/agentfit

Token-aware message truncation: fit a chat history into your model's context budget.

Sources