diff --git a/src/cli/commands/ChatCommand.ts b/src/cli/commands/ChatCommand.ts index 9e0cd57a..684a62d7 100644 --- a/src/cli/commands/ChatCommand.ts +++ b/src/cli/commands/ChatCommand.ts @@ -497,7 +497,8 @@ async function RunChat({ return res; } - void session.preloadPrompt(""); + void session.preloadPrompt("") + .catch(() => void 0); // don't throw an error if preloading fails because a real prompt is sent early // eslint-disable-next-line no-constant-condition while (true) {