Skip to content

Commit ec63fda

Browse files
authored
DOC-3355: Improved error message for too-large prompts (#4076)
* Docs: DOC-3355 - Improved error message for too-large prompts * 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.
1 parent 5419051 commit ec63fda

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

modules/ROOT/pages/8.5.0-release-notes.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ The {productname} {release-version} release includes an accompanying release of
6262

6363
**TinyMCE AI** includes the following fixes, improvements and additions.
6464

65+
==== Improved error message for too-large prompts.
66+
// #TINY-14104
67+
68+
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.
69+
70+
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.
71+
72+
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.
73+
6574
==== Arrow key navigation did not cycle between the first and last menu items
6675
// #TINY-14193
6776

0 commit comments

Comments
 (0)