AIFlow v2.0.1 Build Date: 2026-06-02 Features: AI chat with real API, tool-call function calling, knowledge base file storage + AI-driven graph (LLM entity/relation extraction), channel QR codes, email/SMS config with AI content generation, payment config, admin dashboard (platform cockpit) with cumulative token stats, audit/operation logs, agent resources API, evolution pipeline with auto-recovery, global default model, ad banner image upload + AI image generation, app market install/uninstall + search + duplicate detection, asset file type classification + online preview Migrations: 001-015 (15 total) Fix: 015_production_fixes - knowledge_documents增加content列; AppPurchase状态在卸载时重置 Fix: 014_clean_test_data - 交付前清理Mock/测试数据,去重model_provider,保留admin账号及种子数据 Fix: 013_knowledge_graph_tables - 知识图谱节点/边/构建记录三张新表 Fix: 012_production_column_sync - 幂等补全生产环境可能缺失的列 Fix: run.sh admin密码智能检测 - 仅在哈希无效时重置,保护用户修改的密码 Fix: main.py lifespan - Evolution Pipeline自动恢复运行+chat.py自动启动Pipeline Fix: Auth login - 前端区分用户名不存在和密码错误(/auth/login 401特殊处理) Fix: Dashboard - 更名平台驾驶舱 + total_tokens累计统计 Fix: ChatPage - Agent/技能选择修复onClick交互 + used_skills关联请求skill_ids Fix: Channels QR - 统一使用config.APP_ACCESS_URL(3处os.environ改为config) Fix: Ad banners - 后端图片上传+AI绘图接口 Fix: Models - 全局默认LLM设置入口+is_default显示 Fix: Email config - 字段空值校验+测试前先保存+SMTP逐字段验证 Fix: docker-compose.yml - APP_ACCESS_URL改为https://bot.qihuyun.com(二维码localhost根因) Fix: Token dashboard - 导出CSV下载+一键充值API+服务器时间同步 Fix: Knowledge graph - Canvas节点拖拽+悬停高亮tooltip+点击选中详情面板 Fix: Assets - 按ID去重+Office/PDF在线预览+文件类型映射修复 Fix: ChatPage - 知识库/Agent/技能多选组合(checkbox多选dropdown) Feature: AstrBot借鉴 - 统一Webhook端点+消息组件系统+平台适配器注册+MessageSession+Pipeline管道+Redis事件总线 Refactor: 清理旧版_handle_*_webhook函数和_create_unified_event辅助函数(约330行冗余代码),统一通过适配器模式工作 Fix: unified_webhook - URL验证(challenge/url_verification)优先于频道存在性检查 Fix: config.py - APP_ACCESS_URL三级防护(检测临时域名自动覆盖为正式域名) Fix: BUG-1 - 邮件/SMS/站点设置GET接口返回标准{code,data,message}格式,修复配置持久化后刷新丢失 Fix: BUG-2 - Token驾驶舱CSV导出分页获取(page_size=100) + 一键充值跳转/#/pricing Fix: 生产环境6项缺陷修复 - (1)频道二维码add bind页面+后端API,(2)knowledge_documents add content列,(3)tool-call优先调用skills system prompt,(4)卸载时重置AppPurchase状态,(5)Token overview add server_time (Shanghai时区),(6)邮件测试add smtplib全异常捕获+标准返回格式