Commit Graph

40 Commits

Author SHA1 Message Date
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
戒酒的李白 5d49063b26 Communication encoding bug fixed, all converted to UTF-8. 2025-08-24 15:41:58 +08:00
戒酒的李白 29dbc76044 The console on the right side of the web interface displays a height limit. 2025-08-24 15:30:56 +08:00
戒酒的李白 5b3f5a7b87 Web interface optimization. 2025-08-24 14:56:53 +08:00
戒酒的李白 611f0691a0 At the same time, activate the search function to achieve. 2025-08-24 14:26:16 +08:00
戒酒的李白 281c5834f6 Web app bug fix. 2025-08-24 14:20:56 +08:00
戒酒的李白 92537703f3 Initial setup of web app. 2025-08-24 02:05:56 +08:00
戒酒的李白 14d8ac6e71 Completed fine-tuning for several models and prepared the foundational components for an upcoming refactor. 2025-08-03 23:08:30 +08:00
戒酒的李白 d4d22f726e The newly added crawler visualization settings and the process visualization orchestration module have been adapted to support bilingual switching. 2025-03-18 10:18:52 +08:00
戒酒的李白 54412b7f2a Process visualization orchestration BUG fix, feature enhancement, and support for export and import of orchestration processes. 2025-03-17 18:50:56 +08:00
戒酒的李白 231d533ece Optimize the crawler configuration page, add multi-account parallel functionality, adapt AI configuration features, and include database configuration options. 2025-03-15 13:19:41 +08:00
戒酒的李白 442f343c3c Minor path bug fix. 2025-03-13 13:16:01 +08:00
戒酒的李白 0c6a40b869 🚀 Major Upgrade! Visual Workflow Orchestrator and AI-Powered Crawler Implemented. Added Model Arena Feature and Efficiency Optimizations (Two-Level Caching Architecture + End-to-End Performance Enhancements). 2025-03-13 13:14:35 +08:00
阿彭Baileys b4f14ae3e7 Bilingual support, with full system support for Chinese and English switching. 2025-03-09 19:09:00 +08:00
戒酒的李白 930046fd5c Add AI-powered Spider Configuration Assistant. 2025-02-24 17:10:23 +08:00
戒酒的李白 1180f285a0 Add a visual control panel for the crawler, supporting customization of topics and parameter configuration. 2025-02-23 23:30:54 +08:00
Asy0y0 06e6060b7a Delete some unnecessary introductions 2025-01-12 03:18:25 -06:00
戒酒的李白 8cf7385069 【404.html】优化页面逻辑,增加返回主页按钮 2024-07-03 00:15:56 +08:00
戒酒的李白 82fc0805b1 【error.html】优化500页面,直观展示错误信息 2024-07-03 00:08:16 +08:00
戒酒的李白 2d62acd79b 【error.html】500界面美化 2024-07-02 23:52:43 +08:00
戒酒的李白 a4f29df565 【error.html】500错误页面前端设计 2024-07-02 23:51:01 +08:00
戒酒的李白 dbbd03f21c 【404.html】完成404页面的前端设计 2024-07-02 23:44:38 +08:00
戒酒的李白 7235f7a22b 【整体架构设计】设定了整个项目的框架,包括了项目的目录结构、模块划分、模块之间的调用关系等。 2024-07-02 16:09:32 +08:00