[GH-ISSUE #142] bug: cptr stops incrementing context usage while llama.cpp reports differently #68

Open
opened 2026-10-18 14:02:35 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @JKGeovision on GitHub (Jul 14, 2026).
Original GitHub issue: https://github.com/open-webui/computer/issues/142

Hello,

I've discovered that the context size reported by llama.cpp and cptr differ, and for some reason cptr stops incrementing context usage.

Steps to reproduce:

  1. Run a workload that generates context using llama.cpp
  2. Monitor the context size reported by both llama.cpp and cptr
  3. Observe that cptr stops incrementing while llama.cpp continues to report increasing context usage
Image Image

Thank you for your time and help investigating this!

Best regards,
Joshua Krimmer

Originally created by @JKGeovision on GitHub (Jul 14, 2026). Original GitHub issue: https://github.com/open-webui/computer/issues/142 Hello, I've discovered that the context size reported by llama.cpp and cptr differ, and for some reason cptr stops incrementing context usage. **Steps to reproduce:** 1. Run a workload that generates context using llama.cpp 2. Monitor the context size reported by both llama.cpp and cptr 3. Observe that cptr stops incrementing while llama.cpp continues to report increasing context usage <img width="300" alt="Image" src="https://github.com/user-attachments/assets/8b020bd0-34a2-4b35-ba4c-c67444fa778b" /> <img width="1000" alt="Image" src="https://github.com/user-attachments/assets/e6bbe211-53b2-4061-926e-9bdecb0ec36e" /> Thank you for your time and help investigating this! Best regards, Joshua Krimmer
Author
Owner

@owui-terminator[bot] commented on GitHub (Jul 14, 2026):

🔍 Related Issues Found

I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:

  1. 🟢 #76 feat: context window info
    This issue is about incorrect context window information and context usage calculations in cptr, including hardcoded model context data leading to wrong percentages. It is the closest match to cptr diverging from llama.cpp's reported context usage.
    by naqerl

💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.

This comment was generated automatically. React with 👍 if helpful, 👎 if not.

<!-- gh-comment-id:4969366429 --> @owui-terminator[bot] commented on GitHub (Jul 14, 2026): <!-- terminator-bot:related-issues-reply --> 🔍 **Related Issues Found** I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions: 1. 🟢 [#76](https://github.com/open-webui/computer/issues/76) **feat: context window info** *This issue is about incorrect context window information and context usage calculations in cptr, including hardcoded model context data leading to wrong percentages. It is the closest match to cptr diverging from llama.cpp's reported context usage.* *by naqerl* --- 💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead. *This comment was generated automatically.* React with 👍 if helpful, 👎 if not.
Author
Owner

@tjbck commented on GitHub (Jul 16, 2026):

Should be addressed, Testing wanted here!

<!-- gh-comment-id:4996337324 --> @tjbck commented on GitHub (Jul 16, 2026): Should be addressed, Testing wanted here!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/computer#68
No description provided.