mirror of
https://github.com/openclaw/openclaw.git
synced 2026-09-28 05:54:09 +08:00
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:
@@ -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 }) => [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user