yyqdbngt opened a new pull request, #2825:
URL: https://github.com/apache/rocketmq-dashboard/pull/2825

   ## Summary
   - measure serialized AI chat history using its actual UTF-8 byte length
   - retain the existing bounded eviction behavior for oversized histories
   - add multibyte conversation regression coverage
   
   ## Why
   The storage budget was compared with JavaScript UTF-16 code units, allowing 
non-ASCII histories to exceed the documented 512 KiB limit and fail session 
storage persistence.
   
   ## Testing
   - `NODE_OPTIONS=--no-experimental-webstorage npm test -- 
src/stores/aiChatHistoryStore.test.ts`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to