# ZCode 4.0 and GLM-5.4: Keep a Visual Acceptance Check for Generated Documents

> Check ZCode's GLM-5.4 upgrade with an original document task, then inspect exported files for clipped text, missing footnotes, and wrong totals.

Canonical article: https://modelrovia.com/guides/zcode-glm54-visual-acceptance/
Author: Modelrovia Editorial
Published: 2026-11-25
Updated: 2026-11-25

## Key takeaway

Make the exported document part of acceptance, especially when an agent's workflow no longer includes its former visual check.

**ZCode 4.0.0 makes GLM-5.4 available on Coding Plan and removes an additional visual acceptance step from plugins such as Documents, Spreadsheets, and Presentations.** The November 23 release notes also list fixes for session startup hangs and context loss after model or provider changes. If your workflow produces files for other people, include a short export check in your own acceptance process. [ZCode release notes](https://zcode.z.ai/en/changelog)

## Give the agent a document with a known answer

Use a disposable project and a fictional quote. The task should produce both an editable source and a PDF. For example:

~~~text
Prepare a one-page quote in English for North Pier Studio.
Include 7 units at $125 each, 2 units at $80 each, and a $35 delivery fee.
There is no tax. Include this footnote verbatim:
"Delivery estimate excludes weekends and public holidays."
Keep the document editable and export a PDF.
Report the file paths, total, and any export checks you completed.
~~~

The expected total is **$1,070**. Calculate it before reviewing the agent's output. The long footnote tests whether the export preserves text near the bottom of the page. It also gives you a specific string to look for, instead of relying on a general impression that the page looks finished.

## Inspect the deliverable in three passes

| Pass | Check | Failure to send back |
| --- | --- | --- |
| Values | Quantity, unit price, delivery fee and total in source and PDF | Total differs from $1,070 or a line is absent |
| Layout | Rendered PDF at normal size and enlarged | Clipped footnote, overlapping total, unreadable table |
| Handoff | Open source file and PDF independently | Missing asset, broken file or incorrect output path |

Ask the agent to fix the identified failure and repeat the same check on the corrected export. A successful file save only establishes that an artifact exists. Rendered inspection catches problems that a text search cannot, such as white text on a white background or a total falling beyond the page boundary.

If you need the footnote checked automatically, extract the PDF text using your existing tool and compare the complete sentence. The [PDF text-layer guide](/guides/audit-pdf-text-layer-before-ocr/) explains why an empty extraction can require visual inspection or OCR. Keep the rendered page available while interpreting that result.

## Record the client and account separately

Record ZCode 4.0.0, the selected model label, the plan and the plugin used. The release notes say plugin listings depend on login region, so two accounts may see different choices. Check availability in the actual account before planning a team rollout. The [Z.ai API guide](/guides/z-ai-glm-api-python/) covers a separate access route if you are integrating an application directly.

**Verification on November 25.** We checked the official release notes and calculated the fixture total locally. We did not run ZCode, generate a quote with GLM-5.4, or inspect its actual export quality.

## Sources & references

- [ZCode 4.0.0 release notes, November 23](https://zcode.z.ai/en/changelog)
- [ZCode account and model FAQ](https://zcode.z.ai/en/docs/qa)

[Editorial standards](https://modelrovia.com/methodology/)
