Front-end style optimization.

This commit is contained in:
戒酒的李白
2025-08-26 19:41:16 +08:00
parent 3ca87c0502
commit 11e8c85be6
60 changed files with 3022 additions and 7579 deletions
+1 -1
View File
@@ -1 +1 @@
=== ForumEgine 系统初始化 - 2025-08-26 18:36:14 ===
=== ForumEgine 系统初始化 - 2025-08-26 19:38:27 ===
+16 -11
View File
@@ -1,11 +1,16 @@
[18:36:14] 启动 insight 应用...
[18:36:16] 2025-08-26 18:36:16.584
[18:36:16] Warning: the config option 'server.enableCORS=false' is not compatible with
[18:36:16] 'server.enableXsrfProtection=true'.
[18:36:16] As a result, 'server.enableCORS' is being overridden to 'true'.
[18:36:16] More information:
[18:36:16] In order to protect against CSRF attacks, we send a cookie with each request.
[18:36:16] To do so, we must specify allowable origins, which places a restriction on
[18:36:16] cross-origin resource sharing.
[18:36:16] If cross origin resource sharing is required, please disable server.enableXsrfProtection.
[18:36:16] 2025-08-26 18:36:16.928 Port 8501 is already in use
[19:38:27] 启动 insight 应用...
[19:38:28] 2025-08-26 19:38:28.588
[19:38:28] Warning: the config option 'server.enableCORS=false' is not compatible with
[19:38:28] 'server.enableXsrfProtection=true'.
[19:38:28] As a result, 'server.enableCORS' is being overridden to 'true'.
[19:38:28] More information:
[19:38:28] In order to protect against CSRF attacks, we send a cookie with each request.
[19:38:28] To do so, we must specify allowable origins, which places a restriction on
[19:38:28] cross-origin resource sharing.
[19:38:28] If cross origin resource sharing is required, please disable server.enableXsrfProtection.
[19:38:30] 2025-08-26 19:38:30.221 Did not auto detect external IP.
[19:38:30] Please go to https://docs.streamlit.io/ for debugging hints.
[19:38:30] You can now view your Streamlit app in your browser.
[19:38:30] Local URL: http://localhost:8501
[19:38:30] Network URL: http://10.122.232.27:8501
[19:38:47] WeiboMultilingualSentimentAnalyzer 已创建,调用 initialize() 来加载模型
+11 -11
View File
@@ -1,11 +1,11 @@
[18:36:14] 启动 media 应用...
[18:36:16] 2025-08-26 18:36:16.594
[18:36:16] Warning: the config option 'server.enableCORS=false' is not compatible with
[18:36:16] 'server.enableXsrfProtection=true'.
[18:36:16] As a result, 'server.enableCORS' is being overridden to 'true'.
[18:36:16] More information:
[18:36:16] In order to protect against CSRF attacks, we send a cookie with each request.
[18:36:16] To do so, we must specify allowable origins, which places a restriction on
[18:36:16] cross-origin resource sharing.
[18:36:16] If cross origin resource sharing is required, please disable server.enableXsrfProtection.
[18:36:16] 2025-08-26 18:36:16.937 Port 8502 is already in use
[19:38:30] 启动 media 应用...
[19:38:31] 2025-08-26 19:38:31.735
[19:38:31] Warning: the config option 'server.enableCORS=false' is not compatible with
[19:38:31] 'server.enableXsrfProtection=true'.
[19:38:31] As a result, 'server.enableCORS' is being overridden to 'true'.
[19:38:31] More information:
[19:38:31] In order to protect against CSRF attacks, we send a cookie with each request.
[19:38:31] To do so, we must specify allowable origins, which places a restriction on
[19:38:31] cross-origin resource sharing.
[19:38:31] If cross origin resource sharing is required, please disable server.enableXsrfProtection.
[19:38:32] 2025-08-26 19:38:32.010 Port 8502 is already in use
+11 -11
View File
@@ -1,11 +1,11 @@
[18:36:14] 启动 query 应用...
[18:36:16] 2025-08-26 18:36:16.585
[18:36:16] Warning: the config option 'server.enableCORS=false' is not compatible with
[18:36:16] 'server.enableXsrfProtection=true'.
[18:36:16] As a result, 'server.enableCORS' is being overridden to 'true'.
[18:36:16] More information:
[18:36:16] In order to protect against CSRF attacks, we send a cookie with each request.
[18:36:16] To do so, we must specify allowable origins, which places a restriction on
[18:36:16] cross-origin resource sharing.
[18:36:16] If cross origin resource sharing is required, please disable server.enableXsrfProtection.
[18:36:16] 2025-08-26 18:36:16.928 Port 8503 is already in use
[19:38:30] 启动 query 应用...
[19:38:31] 2025-08-26 19:38:31.745
[19:38:31] Warning: the config option 'server.enableCORS=false' is not compatible with
[19:38:31] 'server.enableXsrfProtection=true'.
[19:38:31] As a result, 'server.enableCORS' is being overridden to 'true'.
[19:38:31] More information:
[19:38:31] In order to protect against CSRF attacks, we send a cookie with each request.
[19:38:31] To do so, we must specify allowable origins, which places a restriction on
[19:38:31] cross-origin resource sharing.
[19:38:31] If cross origin resource sharing is required, please disable server.enableXsrfProtection.
[19:38:32] 2025-08-26 19:38:32.008 Port 8503 is already in use
+16 -16
View File
@@ -1,20 +1,20 @@
2025-08-26 18:38:19,528 - ReportEngine - INFO - 已加载 query 报告: 3509 字符
2025-08-26 18:38:19,530 - ReportEngine - INFO - 已加载 media 报告: 3279 字符
2025-08-26 18:38:19,532 - ReportEngine - INFO - 已加载 insight 报告: 2217 字符
2025-08-26 18:38:19,532 - ReportEngine - INFO - 已加载论坛日志: 47 字符
2025-08-26 18:38:19,533 - ReportEngine - INFO - 开始生成报告: 智能舆情分析报告
2025-08-26 18:38:19,533 - ReportEngine - INFO - 输入数据 - 报告数量: 3, 论坛日志长度: 47
2025-08-26 18:38:19,533 - ReportEngine - INFO - 选择报告模板...
2025-08-26 18:38:19,533 - ReportEngine - INFO - [TemplateSelectionNode] 开始模板选择...
2025-08-26 18:38:19,538 - ReportEngine - INFO - [TemplateSelectionNode] 尝试使用LLM进行模板选择...
2025-08-26 18:38:30,615 - ReportEngine - INFO - [TemplateSelectionNode] LLM原始响应: ```json
2025-08-26 19:39:03,249 - ReportEngine - INFO - 已加载 query 报告: 3509 字符
2025-08-26 19:39:03,251 - ReportEngine - INFO - 已加载 media 报告: 3279 字符
2025-08-26 19:39:03,252 - ReportEngine - INFO - 已加载 insight 报告: 2217 字符
2025-08-26 19:39:03,253 - ReportEngine - INFO - 已加载论坛日志: 47 字符
2025-08-26 19:39:03,254 - ReportEngine - INFO - 开始生成报告: 智能舆情分析报告
2025-08-26 19:39:03,257 - ReportEngine - INFO - 输入数据 - 报告数量: 3, 论坛日志长度: 47
2025-08-26 19:39:03,257 - ReportEngine - INFO - 选择报告模板...
2025-08-26 19:39:03,258 - ReportEngine - INFO - [TemplateSelectionNode] 开始模板选择...
2025-08-26 19:39:03,261 - ReportEngine - INFO - [TemplateSelectionNode] 尝试使用LLM进行模板选择...
2025-08-26 19:39:14,686 - ReportEngine - INFO - [TemplateSelectionNode] LLM原始响应: ```json
{
"template_name": "日常或定期舆情监测报告模板",
"selection_reason": "用户的查询内容“智能舆情分析报告”是一个宽泛的描述,没有明确指出特定的分析主题(如品牌、竞品、危机或热点事件)。在这种情况下,该查询最符合常规性、周期性的舆情监控需求因此,选择“日常或定期舆情监测报告模板”作为通用和基础的报告形式最为合适。"
"selection_reason": "查询内容“智能舆情分析报告”主题宽泛,未指定特定品牌、竞争对手或突发事件,且提及多个分析引擎和日志,表明这是一种常规性、周期性的监测需求因此最适合使用日常或定期监测报告模板。"
}
```...
2025-08-26 18:38:30,615 - ReportEngine - INFO - [TemplateSelectionNode] LLM选择模板: 日常或定期舆情监测报告模板
2025-08-26 18:38:30,615 - ReportEngine - INFO - 选择模板: 日常或定期舆情监测报告模板
2025-08-26 18:38:30,616 - ReportEngine - INFO - 选择理由: 用户的查询内容“智能舆情分析报告”是一个宽泛的描述,没有明确指出特定的分析主题(如品牌、竞品、危机或热点事件)。在这种情况下,该查询最符合常规性、周期性的舆情监控需求因此,选择“日常或定期舆情监测报告模板”作为通用和基础的报告形式最为合适
2025-08-26 18:38:30,616 - ReportEngine - INFO - 多轮生成HTML报告...
2025-08-26 18:38:30,616 - ReportEngine - INFO - [HTMLGenerationNode] 开始生成HTML报告...
2025-08-26 19:39:14,686 - ReportEngine - INFO - [TemplateSelectionNode] LLM选择模板: 日常或定期舆情监测报告模板
2025-08-26 19:39:14,686 - ReportEngine - INFO - 选择模板: 日常或定期舆情监测报告模板
2025-08-26 19:39:14,687 - ReportEngine - INFO - 选择理由: 查询内容“智能舆情分析报告”主题宽泛,未指定特定品牌、竞争对手或突发事件,且提及多个分析引擎和日志,表明这是一种常规性、周期性的监测需求因此最适合使用日常或定期监测报告模板。
2025-08-26 19:39:14,687 - ReportEngine - INFO - 多轮生成HTML报告...
2025-08-26 19:39:14,687 - ReportEngine - INFO - [HTMLGenerationNode] 开始生成HTML报告...
+3 -3
View File
@@ -1,5 +1,5 @@
{
"insight": 4,
"media": 4,
"query": 3
"insight": 9,
"media": 9,
"query": 9
}