hermes - 💡(How to fix) Fix [Bug]: TUI shows wrong token limit when switching from local model to GPT-5.5

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Code Example

n/a

---
RAW_BUFFERClick to expand / collapse

Bug Description

  1. TUI shows wrong token limit when switching from local model to GPT-5.5.

Screenshot 2026-05-11 at 7.54.52 PM.pdf

Screenshot 2026-05-11 at 7.48.35 PM.pdf

Steps to Reproduce

  1. run hermes
  2. switch to local model (LM Studio, LLAMA, etc.)
  3. switch to OpenAI model
  4. observe TUI's token count

Expected Behavior

Correct GPT-5.5 token count visible.

Actual Behavior

Incorrect GPT-5.5 token count visible.

Affected Component

CLI (interactive chat)

Messaging Platform (if gateway-related)

No response

Debug Report

n/a

Operating System

masOS Tahoe 26.4.1

Python Version

Python 3.11.15

Hermes Version

Hermes Agent v0.13.0 (2026.5.7)

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING