From f3f277df063661c1ed4cae62239c53154075bb07 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Mon, 20 Apr 2026 11:42:23 +1000 Subject: [PATCH 1/2] Docs: DOC-3355 - Improved error message for too-large prompts --- modules/ROOT/pages/8.5.0-release-notes.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/ROOT/pages/8.5.0-release-notes.adoc b/modules/ROOT/pages/8.5.0-release-notes.adoc index 1a48ade30d..c5cad7f90f 100644 --- a/modules/ROOT/pages/8.5.0-release-notes.adoc +++ b/modules/ROOT/pages/8.5.0-release-notes.adoc @@ -41,6 +41,21 @@ The {productname} {release-version} release includes an accompanying release of For information on the **** plugin, see: xref:.adoc[]. +=== TinyMCE AI + +The {productname} {release-version} release includes an accompanying release of the **TinyMCE AI** premium plugin. + +**TinyMCE AI** includes the following improvement. + +==== Improved error message for too-large prompts. +// #TINY-14104 + +Previously, when a prompt sent to the TinyMCE AI service exceeded size limits, the error message did not include enough detail for integrators to diagnose the issue. The structured error data returned by the service, such as the current prompt length and the maximum allowed length, was not decoded or displayed. + +In {productname} {release-version}, TinyMCE AI now decodes and displays detailed error information when a prompt exceeds size limits, including the current prompt length and the maximum allowed length. This makes it easier for integrators to identify and resolve prompt size issues. + +For information on the **TinyMCE AI** plugin, see: xref:tinymceai.adoc[TinyMCE AI]. + [[accompanying-enhanced-skins-and-icon-packs-changes]] == Accompanying Enhanced Skins & Icon Packs changes From caf1572ae43ecfdfc3b3c24e9c08926beece194f Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Tue, 28 Apr 2026 09:23:36 +1000 Subject: [PATCH 2/2] Docs: Address review feedback on too-large prompt error note Soften wording to reflect that detailed error info (prompt length, max length) may not always be displayed when the service response contains unrecognized issue types alongside recognized ones. --- modules/ROOT/pages/8.5.0-release-notes.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/8.5.0-release-notes.adoc b/modules/ROOT/pages/8.5.0-release-notes.adoc index c5cad7f90f..868ca12a2e 100644 --- a/modules/ROOT/pages/8.5.0-release-notes.adoc +++ b/modules/ROOT/pages/8.5.0-release-notes.adoc @@ -52,7 +52,9 @@ The {productname} {release-version} release includes an accompanying release of Previously, when a prompt sent to the TinyMCE AI service exceeded size limits, the error message did not include enough detail for integrators to diagnose the issue. The structured error data returned by the service, such as the current prompt length and the maximum allowed length, was not decoded or displayed. -In {productname} {release-version}, TinyMCE AI now decodes and displays detailed error information when a prompt exceeds size limits, including the current prompt length and the maximum allowed length. This makes it easier for integrators to identify and resolve prompt size issues. +In {productname} {release-version}, TinyMCE AI now decodes and displays detailed error information when a prompt exceeds size limits. When available, this includes the current prompt length and the maximum allowed length, making it easier for integrators to identify and resolve prompt size issues. + +NOTE: If the service response includes unrecognized error details alongside recognized ones, the additional detail information may not be displayed. The error notification itself is unaffected. For information on the **TinyMCE AI** plugin, see: xref:tinymceai.adoc[TinyMCE AI].