forked from snxraven/sshChat-CLI
fix typo
This commit is contained in:
parent
6177877c2b
commit
7d0a31dab2
@ -161,7 +161,7 @@ rl.on('line', input => {
|
|||||||
const AI = input.startsWith("!")
|
const AI = input.startsWith("!")
|
||||||
if (AI) {
|
if (AI) {
|
||||||
let inputdata = input.split(2)
|
let inputdata = input.split(2)
|
||||||
const prompt = inputdata.join(" ").replace("> ", "").replace(">", "")
|
const prompt = inputdata.join(" ").replace("! ", "").replace("!", "")
|
||||||
AIRequest(prompt).then((data) => {
|
AIRequest(prompt).then((data) => {
|
||||||
console.log(data)
|
console.log(data)
|
||||||
for (const conn of conns) {
|
for (const conn of conns) {
|
||||||
|
Loading…
Reference in New Issue
Block a user