test(cli): match model provider diagnostics in process tests

The model catalog now names the rejected provider and its recovery command.
Align the routed and Commander process expectations with that documented
contract, preserving strict JSON, exit, stderr, and control-character checks.

Linux Testbox: original config reproduced both stale-message failures;
54 unchanged sibling files passed. All 29 repaired file cases pass, as do
changed-file checks, boundary lint, and P2 review.
This commit is contained in:
Peter Steinberger
2026-09-27 14:52:16 -07:00
parent 90f63c1855
commit 66898a6334
+1 -1
View File
@@ -365,7 +365,7 @@ describe("models list JSON failure process output", () => {
{
provider: "autoqa-no-such-provider",
message:
"Unknown model catalog provider. Use a provider id from the installed plugins or configured providers.",
'Unknown model catalog provider "autoqa-no-such-provider". Run openclaw models list --all to list models and their provider IDs.',
},
].flatMap(({ provider, message }) => [
{