Fix doc-test failure in GLM adapter

Use quadruple backticks for outer code fence to properly escape
the nested code fence example showing JSON format.
This commit is contained in:
Dhanji R. Prasanna
2026-01-30 14:53:04 +11:00
parent afc5bc8574
commit 7fc9eb0778

View File

@@ -9,11 +9,11 @@
//! ```
//!
//! 2. Code-fenced JSON (when following system prompt instructions):
//! ```text
//! ````text
//! ```json
//! {"tool": "shell", "args": {"command": "ls"}}
//! ```
//! ```
//! ````
//!
//! This adapter handles both formats and strips code fences when present.