NOTICE: By continued use of this site you understand and agree to the binding Termos de Serviço and Política de Privacidade.
Install steps: Install a userscript manager, select Install, then open a website matched by the script.
The following figures come from the original source and are separate from activity on this site.
Original script: Z.ai Classic Chat (restore "New Chat" + message Edit)
Source version: 1.1.1
Last source check:
Last successful check:
Requests received by this site are not proof that a user completed installation.
Clicking Install records a request on this site; it does not confirm installation. Not working after install? View troubleshooting and issues
Z.ai updated their UI to route all new conversations through agent mode and removed the message edit button, but the original layout and features are still in the frontend bundle. When the site loads, it calls /api/config. If the response contains features.unified_agent = true, the client hides the standard chat layout and enables agent mode.
This script intercepts the /api/config response to set unified_agent to false, restoring the original sidebar layout with the separate Chat and Agents tabs and their respective New Chat and New Task buttons. It also strips the agent flags from /chats/<id> responses to bring back the message edit button (with the side effect of also working on any tasks in Agent mode). Existing chat threads at /c/<id> continue to load normally.
Avaliação: 0