Context window exceeded at turn 23. Here's how I track token usage without a tokenizer.
The article discusses a submission for the Hermes Agent Challenge, focusing on the challenges of managing context windows in AI interactions. The author experienced a context length error after 23 turns of conversation, highlighting the limitations of current systems. The piece emphasizes the need for better handling of token usage in AI applications.
- ▪The author submitted their work for the Hermes Agent Challenge.
- ▪They encountered a context length error after 23 interaction turns.
- ▪The article highlights the importance of managing token usage effectively.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3915555) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Mukunda Rao Katta Posted on May 25 Context window exceeded at turn 23. Here's how I track token usage without a tokenizer. #hermesagentchallenge #devchallenge #agents #python Hermes Agent Challenge Submission: Write About Hermes Agent This is a submission for the Hermes Agent Challenge. My Hermes agent's context window fills up gradually. Each turn adds messages. Tool call results add more.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).