mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:50:43 +00:00
fix: warning text cli correctness issue (#74964)
Co-authored-by: openclaw-clawsweeper[bot] <280122609+openclaw-clawsweeper[bot]@users.noreply.github.com>
This commit is contained in:
@@ -569,7 +569,7 @@ describe("cron cli", () => {
|
||||
expect.stringContaining("No --agent specified"),
|
||||
);
|
||||
expect(defaultRuntime.error).toHaveBeenCalledWith(
|
||||
expect.stringContaining("default agent (main)"),
|
||||
expect.stringContaining("configured default agent"),
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -235,7 +235,7 @@ export function registerCronAddCommand(cron: Command) {
|
||||
if (payload.kind === "agentTurn" && !agentId) {
|
||||
defaultRuntime.error(
|
||||
theme.warn(
|
||||
"No --agent specified; the job will run with the default agent (main). " +
|
||||
"No --agent specified; the job will run with the configured default agent. " +
|
||||
"Specify --agent to choose a specific agent.",
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user