diff --git a/main.ts b/main.ts index 6480812..3b0440e 100644 --- a/main.ts +++ b/main.ts @@ -104,7 +104,7 @@ app.message(async (c) => { } }); - if (prompt) messages.push({ role: "user", content }); + if (content.length > 0) messages.push({ role: "user", content }); if (isMention) { try {