diff --git a/sshChat.mjs b/sshChat.mjs index 6e5fd8b..7acb672 100644 --- a/sshChat.mjs +++ b/sshChat.mjs @@ -161,7 +161,7 @@ rl.on('line', input => { const AI = input.startsWith("!") if (AI) { let inputdata = input.split(2) - const prompt = inputdata.join(" ").replace("> ", "").replace(">", "") + const prompt = inputdata.join(" ").replace("! ", "").replace("!", "") AIRequest(prompt).then((data) => { console.log(data) for (const conn of conns) {