Trim character node meta description

This commit is contained in:
OpenClaw Agent
2026-07-20 13:55:13 +00:00
parent 00d5703137
commit a711a9d34b

View File

@@ -235,9 +235,7 @@ function syncFormFromWidgets(node) {
? `Alias: <span style="color:#e8e8e8">@${String(alias).replace(/^@/, "")}</span>`
: "Alias: <span style=\"color:#666\">none</span>",
`<div style="margin-top:4px;color:#888">Analyze: ${provider}${model ? ` / ${model}` : ""}${baseUrl ? ` / ${baseUrl}` : ""}</div>`,
description
? `<div style="margin-top:4px;color:#d0d0d0">${description}</div>`
: `<div style="margin-top:4px;color:#666">Description will be used for prompt replacement outside MSR prefix mode.</div>`,
`<div style="margin-top:4px;color:#666">Description is stored in the field below.</div>`,
].join("");
}
}