Ctx-opt: TypeScript middleware to trim LLM chats to a token budget
**Brief summary (2‑3 sentences)** Ctx‑opt is a lightweight TypeScript middleware that automatically trims LLM conversation histories to stay within a configurab
Original source**Brief summary (2‑3 sentences)** Ctx‑opt is a lightweight TypeScript middleware that automatically trims LLM conversation histories to stay within a configurab
Original source