Skip to content

TINYDOC-3570: Improved error message shown when a chat message exceeds the AI context limit - #4314

Open
kemister85 wants to merge 1 commit into
feature/8.9/TINYDOC-3570from
feature/8.9/TINYDOC-3570_TINYMCE-13661
Open

TINYDOC-3570: Improved error message shown when a chat message exceeds the AI context limit#4314
kemister85 wants to merge 1 commit into
feature/8.9/TINYDOC-3570from
feature/8.9/TINYDOC-3570_TINYMCE-13661

Conversation

@kemister85

@kemister85 kemister85 commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Ticket: TINYDOC-3570 (TINYMCE-13661)

Site: Staging

Changes:

  • Added release note entry for TINYMCE-13661 to modules/ROOT/pages/8.9.0-release-notes.adoc (Accompanying Premium plugin changes, TinyMCE AI): Improved error message shown when a chat message exceeds the AI context limit.

Pre-checks:

  • Files have been included where required (if applicable).
  • Build passes without console errors, warnings, or issues.

Review:

  • Documentation Team Lead has reviewed.

@kemister85 kemister85 added this to the TinyMCE 8.9.0 milestone Aug 17, 2026
@kemister85 kemister85 added the upcoming release Documentation for features currently under development/QA label Aug 17, 2026
@kemister85
kemister85 requested a review from hamza0867 August 17, 2026 06:25
@kemister85
kemister85 marked this pull request as ready for review August 17, 2026 06:25
@kemister85
kemister85 requested review from a team and soritaheng as code owners August 17, 2026 06:25
@kemister85
kemister85 requested review from MitchC1999, ShiridiGandham and tiny-ben-tran and removed request for a team August 17, 2026 06:25
==== Improved error message shown when a chat message exceeds the AI context limit
// #TINYMCE-13661

Previously, when a chat message and the conversation history together exceeded the context limit of the AI service, the Chat sidebar reported the failure with the general message `+An error occurred while processing the AI response.+` That message did not identify the size of the request as the cause, so users could not tell whether to shorten the message, start a new conversation, or try again unchanged.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Previously, when a chat message and the conversation history together exceeded the context limit of the AI service, the Chat sidebar reported the failure with the general message `+An error occurred while processing the AI response.+` That message did not identify the size of the request as the cause, so users could not tell whether to shorten the message, start a new conversation, or try again unchanged.
Previously, when a chat message combined with the conversation history together exceeded the context limit of the AI service, the Chat sidebar reported the failure with the general message `+An error occurred while processing the AI response.+` That message did not identify the size of the request as the cause, so users could not tell whether to shorten the message, start a new conversation, or try again unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

upcoming release Documentation for features currently under development/QA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants