feat: AI对话系统 v1.0.0 - 网页端和Matrix端实时同步

This commit is contained in:
2026-04-11 11:51:54 +08:00
commit 46216205fe
26 changed files with 2110 additions and 0 deletions

21
start.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
# AI对话系统启动脚本
cd /home/xian/.openclaw/workspace-coder/works/ai-chat
# 创建必要目录
mkdir -p static/css static/js logs
# 启动服务
nohup python3 main.py > logs/ai-chat.log 2>&1 &
sleep 2
# 检查服务状态
if curl -s http://localhost:19020/api/admin/stats > /dev/null 2>&1; then
echo "✅ AI对话系统启动成功 (端口: 19020)"
echo " 网页端: http://localhost:19020"
echo " 后台管理: http://localhost:19020/admin"
else
echo "❌ 启动失败,查看日志:"
cat logs/ai-chat.log | tail -20
fi