Commit Graph

72 Commits

Author SHA1 Message Date
马一丁 a22be6d7dd Fixes Situations Where TCP Connections Might be Refused 2025-11-22 02:06:53 +08:00
马一丁 56b6bdd1b4 Enhance the Performance of Frontend Log Output 2025-11-22 01:48:39 +08:00
马一丁 a2c42bda8b Fix Report Engine Progress Bar Error 2025-11-21 05:33:05 +08:00
马一丁 de8f253fa0 Improves the Front-End Console Experience 2025-11-21 00:25:48 +08:00
马一丁 b10dd449fa Resolving Report Engine Logging Issues 2025-11-20 22:36:49 +08:00
马一丁 2fb15f5efc Fix the Display of Report Engine Console Logs 2025-11-20 21:17:52 +08:00
马一丁 ceeac9e5e0 Update Report Engine Log Display Method 2025-11-20 18:48:20 +08:00
马一丁 5925f49669 Fix Report Engine Log Output Priority 2025-11-20 12:36:33 +08:00
马一丁 2da43dbaf6 Adjust the Front-End Log Query Mode 2025-11-20 12:07:03 +08:00
马一丁 3eff6b06c5 Displays Information above DEBUG 2025-11-20 02:31:47 +08:00
马一丁 cad25b63c1 Optimize Log Output Efficiency 2025-11-20 00:32:45 +08:00
马一丁 269b2ec5dd Optimize Log Display Logic 2025-11-19 20:12:37 +08:00
马一丁 bd0aa987ad Update Report Engine Log Display Logic 2025-11-19 15:44:05 +08:00
马一丁 66240bbf23 Update Log Display Logic 2025-11-19 15:30:51 +08:00
马一丁 1cf82adef6 Optimize the Front-End Console Log Display Logic 2025-11-19 11:58:59 +08:00
马一丁 5e82185bee Modify the Logic for "Export as PDF" 2025-11-18 20:10:11 +08:00
马一丁 acfe77a326 Improve PDF Export 2025-11-18 17:33:55 +08:00
马一丁 49c42a17ea Optimize Progress Bar Display Issues 2025-11-18 15:59:46 +08:00
马一丁 1a302ca975 Solving the Problem of Garbled Characters in PDF Rendering 2025-11-18 14:21:41 +08:00
马一丁 85d75d6f74 Fixed the Front-End Progress Bar Display Logic 2025-11-18 13:53:15 +08:00
马一丁 eb036655a2 Fix the Front-End Console Display Logic 2025-11-18 12:58:40 +08:00
马一丁 939fea26d9 Modify the Logic for Downloading PDFs 2025-11-18 12:31:59 +08:00
马一丁 90f5986284 Optimize Front-End Memory Usage 2025-11-18 11:38:03 +08:00
马一丁 80bbd0d243 Optimize Front-End Memory Usage 2025-11-18 02:10:31 +08:00
马一丁 d9f72313a3 Fix Forum Engine's Frontend Log Output 2025-11-18 01:52:40 +08:00
马一丁 45ef1b0779 Merge pull request #354 from 666ghj/main
Sync
2025-11-15 22:49:13 +08:00
马一丁 cab812e261 Repair the Logic of the Log Viewing System 2025-11-15 16:21:49 +08:00
马一丁 6d0e8f4b8c Add Comments 2025-11-14 19:44:04 +08:00
马一丁 82152547e1 Improved Rendering 2025-11-13 22:31:02 +08:00
666ghj 9d6e4946e8 Update operation guide in UI and config file. 2025-11-13 17:33:58 +08:00
BaiFu f004407f4b Add final report download button (#329)
* fix(app): 改进应用健康检查机制并更新默认配置

添加专用的健康检查路径和代理配置,重构健康检查URL构建逻辑
增加健康检查失败时的日志记录
延长应用启动等待时间至90秒

* style(templates): 统一CSS选择器缩进格式并修复空格问题

* feat(报告下载): 实现报告文件下载功能并增强任务状态管理

- 在ReportAgent中修改generate_report返回包含文件路径的字典
- 在ReportTask中添加文件路径相关字段
- 新增/download接口用于下载报告文件
- 在前端添加下载按钮及相关控制逻辑
- 完善任务状态显示,增加文件路径信息

* feat(report): 添加报告下载功能并优化状态管理

- 在ReportAgent中返回报告文件保存路径信息
- 新增Flask接口/download/<task_id>用于下载报告文件
- 在前端添加下载按钮及相关控制逻辑
- 修复报告生成状态重置问题
- 优化健康检查URL构建和代理设置
- 统一CSS样式中的空格和缩进

---------

Co-authored-by: HKLHaoBin <we3q@qq.com>
Co-authored-by: Zhang Yuxiang <51037789+NTFago@users.noreply.github.com>
2025-11-13 00:48:52 +08:00
刘硕 516f37bd25 feat: api 隐藏可选
给api添加了隐藏选项
2025-11-13 00:38:42 +08:00
Doiiars 537d682861 1. 统一为使用基于pydantic的.env环境变量管理配置
2. 全项目基于loguru进行日志管理
2025-11-05 14:56:49 +08:00
666ghj 4b48156e58 Implement comprehensive front-end settings UI. 2025-11-05 00:24:35 +08:00
Mingxiangyu f6d52b90f0 修复:使用动态主机地址支持局域网内后端服务访问
Updated iframe source URLs to use the window's hostname instead of localhost.本次提交解决了局域网内其他设备无法正常访问后端服务的问题。此前前端代码中硬编码了localhost作为后端服务的主机地址,导致其他设备访问时,localhost会指向设备自身而非实际运行服务的主机,从而无法连接后端。
主要修改内容:
将前端中硬编码的localhost替换为window.location.hostname,动态获取当前页面的主机 IP(即运行服务的电脑局域网 IP)。
涉及修改的关键位置:
preloadIframes函数:预加载 iframe 时,使用动态主机地址生成后端服务 URL(如http://${window.location.hostname}:8501)。
performSearch函数:发送搜索请求时,同样使用动态主机地址构建请求 URL,确保后端接口调用正确指向服务主机。
注意事项:
为确保局域网访问正常,后端服务(运行在 8501、8502、8503 等端口)需配置为绑定到0.0.0.0(而非默认的localhost),以允许来自局域网的连接。例如,Python 服务可通过app.run(host='0.0.0.0', port=8501)启动。
效果:
修改后,局域网内其他设备通过服务主机的局域网 IP(如192.168.1.100)访问前端页面时,可自动正确连接到后端服务,实现跨设备正常使用。
2025-10-30 12:09:42 +08:00
666ghj 85b3769718 Front-end title modification. 2025-10-07 21:52:38 +08:00
666ghj ba48e77c38 Remove forum host asynchronous strategy and simplify the process. 2025-09-16 20:47:02 +08:00
戒酒的李白 860cdb2f25 Fix simple word spelling errors. 2025-09-10 17:12:43 +08:00
戒酒的李白 e5e32ff6dc The entire system has been largely completed. 2025-08-26 22:04:53 +08:00
戒酒的李白 11e8c85be6 Front-end style optimization. 2025-08-26 19:41:16 +08:00
戒酒的李白 3ca87c0502 Fix Bug. 2025-08-26 18:40:03 +08:00
戒酒的李白 f0788b64f3 The final report agent has been largely completed. 2025-08-26 17:34:36 +08:00
戒酒的李白 197e68f7ba Optimize prompts. 2025-08-25 23:05:16 +08:00
戒酒的李白 34c7179af1 Forum function completed. 2025-08-25 21:08:42 +08:00
戒酒的李白 311e5d1390 Bug fix. 2025-08-25 17:08:19 +08:00
戒酒的李白 8c19173fe8 The front end of the forum has been basically implemented. 2025-08-25 16:57:56 +08:00
戒酒的李白 5b51ba8505 The interface of the forum has been initially set up. 2025-08-25 15:42:56 +08:00
戒酒的李白 6244d11685 The single-multi-agent framework has been initially completed. 2025-08-24 17:36:53 +08:00
戒酒的李白 4d90f56b42 Introduce the function of initially restoring the real-time output of console information. 2025-08-24 17:13:00 +08:00
戒酒的李白 4de9a33c1a Fix BUG. 2025-08-24 16:53:54 +08:00