[Bug] Chat line history truncated to 3–4 messages and rendering unescaped HTML entities (` `)
Open 💬 2 comments Opened Aug 22, 2026 by gatepaxai-repo
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the IDE extension are you using?
26.818.41509
What subscription do you have?
PRO
Which IDE are you using?
VS Code
What platform is your computer?
Macbook PRO Silicon
What issue are you seeing?
Environment / Extension Info:
- Identifier:
openai.chatgpt - Version:
26.818.41509(Updated ~15 hours ago)
Severity: Medium / High
Description:
When using the Up and Down arrow keys to cycle through previously sent messages in the chat input line, the line history buffer is limited to only 3–4 previous messages. Additionally, inline whitespace in recalled history is being converted into raw, unescaped HTML entities ( ).
What steps can reproduce the bug?
Steps to Reproduce:
- Open the chat interface with the specified extension enabled.
- Send 6–10 consecutive text messages (e.g., "Message 1", "Message 2", etc.).
- Place focus on the chat input field.
- Press the Up Arrow key repeatedly to traverse backward through the message history.
- Observe the retrieved messages and text encoding in the input field.
What is the expected behavior?
Expected Behavior:
- The input field should buffer and cycle through a complete history (e.g., last 20+ messages or full session history).
- Text should render as plain text without exposed HTML entities.
Actual Behavior:
- Input history stops retrieving messages after 3 to 4 key presses.
- Spaces within recalled messages render as raw
 entities (e.g.,Hello World).
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I also see this problem. Noticed for several recent versions including current as of today
26.820.71523. Using VS Code1.135.0on Windows 11+WSL.