项目基于openwechat开发
- 群聊@回复
- 私聊回复
- 自动通过回复
配置项在 config.json glm_backend
配置项在 config.json max_boxes
每个用户单独配置上下文历史栈,超出限制轮数将清空历史。
配置项在 config.json auto_pass
设置为true
将自动通过微信好友请求
配置项在 config.json user_count
git clone https://github.com/physi-cs/wechatbot
cd wechatbot
nohup sh startup.sh &
进行项目后台启动- 使用vim打开 nohup.log ,找到最新的日志,即为登录链接(在vim命令模式下输入'G'可快速跳转到最后一行)
- 点击链接使用浏览器打开,微信扫码进行登陆
ps -aux | grep main.go
找到项目对应的进程idkill -9 进程id