You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Could not validate provider reference filemain:/providers/minimax/apiKey.",
384
-
"secrets.providers.filemain.path is not readable: /tmp/does-not-exist-secrets.json | ENOENT: no such file or directory, lstat '/tmp/does-not-exist-secrets.json' | secrets.providers.filemain.path is not readable: /tmp/does-not-exist-secrets.json | ENOENT: no such file or directory, lstat '/tmp/does-not-exist-secrets.json'",
385
-
"Check your provider configuration and try again.",
386
-
].join("\n"),
384
+
),
387
385
"Reference check failed",
388
386
);
387
+
expect(note).toHaveBeenCalledWith(
388
+
expect.stringContaining(
389
+
"secrets.providers.filemain.path is not readable: /tmp/does-not-exist-secrets.json",
390
+
),
391
+
"Reference check failed",
392
+
);
393
+
expect(note).toHaveBeenCalledWith(
394
+
expect.stringContaining("Check your provider configuration and try again."),
395
+
"Reference check failed",
396
+
);
397
+
expect(note).toHaveBeenCalledWith(
398
+
"Validated environment variable MINIMAX_API_KEY. OpenClaw will store a reference, not the key value.",
399
+
"Reference validated",
400
+
);
389
401
});
390
402
391
403
it("never includes resolved env secret values in reference validation notes",async()=>{
0 commit comments