---
title: "Comment by Tarun Sharma on \"Qwen4-Max in a React chat: keep the encrypted reasoning, or your history quietly loses it\" | Hashnode"
description: "Since the ciphertext round-trips through the browser, the route forwards whatever m.metadata.encrypted the client sends straight to the provider. It is opaque t"
url: "https://hashnode.com/posts/qwen4-max-in-a-react-chat-keep-the-encrypted-reasoning-or-your-history-quietly-loses-it/6afbde314daee8aabee34762/comment/6afdf0f1f742ca7f92adf9e8"
---

[Discussion](https://hashnode.com/posts/qwen4-max-in-a-react-chat-keep-the-encrypted-reasoning-or-your-history-quietly-loses-it/6afbde314daee8aabee34762)

Comment [Qwen4-Max in a React chat: keep the encrypted reasoning, or your history quietly loses it](https://hashnode.com/posts/qwen4-max-in-a-react-chat-keep-the-encrypted-reasoning-or-your-history-quietly-loses-it/6afbde314daee8aabee34762)

[Tarun Sharma](https://hashnode.com/@101beardo)

[4d ago](https://hashnode.com/posts/qwen4-max-in-a-react-chat-keep-the-encrypted-reasoning-or-your-history-quietly-loses-it/6afbde314daee8aabee34762/comment/6afdf0f1f742ca7f92adf9e8)

Since the ciphertext round-trips through the browser, the route forwards whatever m.metadata.encrypted the client sends straight to the provider. It is opaque to you, but I would still check it is a string under a size cap, or keep it server-side keyed by message id. That also covers your point about stored chats losing it, because the history and the ciphertext live in one place.
