Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何运行在pm2上 #217

Open
wkABXY opened this issue Sep 10, 2024 · 5 comments
Open

如何运行在pm2上 #217

wkABXY opened this issue Sep 10, 2024 · 5 comments

Comments

@wkABXY
Copy link

wkABXY commented Sep 10, 2024

由于 wechat-bot 在启动时有交互式的命令提示框(例如选择模型的提示),这会导致在使用 PM2 时无法正常完成交互。有没有大佬教一下。

@wkABXY
Copy link
Author

wkABXY commented Sep 10, 2024

另外 就是说 切换模型 可以就是用电报机器人那种形式么 /model xxx 这样的命令,不然每次都得重启捏

@wkABXY
Copy link
Author

wkABXY commented Sep 11, 2024

不好意思 我没仔细看文档代码 我最该万死
yarn run start -- --serve Kimi

@wangrongding
Copy link
Owner

😅 可能确实不够直观,感兴趣的话可以帮忙给个PR,我一会到公司去合并下

@wangrongding
Copy link
Owner

pm2的哈~

@wkABXY
Copy link
Author

wkABXY commented Sep 11, 2024

pm2的哈~
pm2 start "yarn" --name wechat-bot -- run start -- --serve Kimi
直接PR文档嘛,哈哈哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants