Fix Bug.
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
=== ForumEgine 系统初始化 - 2025-08-26 17:27:18 ===
|
||||
=== ForumEgine 系统初始化 - 2025-08-26 18:36:14 ===
|
||||
|
||||
+11
-11
@@ -1,11 +1,11 @@
|
||||
[17:27:18] 启动 insight 应用...
|
||||
[17:27:20] 2025-08-26 17:27:20.349
|
||||
[17:27:20] Warning: the config option 'server.enableCORS=false' is not compatible with
|
||||
[17:27:20] 'server.enableXsrfProtection=true'.
|
||||
[17:27:20] As a result, 'server.enableCORS' is being overridden to 'true'.
|
||||
[17:27:20] More information:
|
||||
[17:27:20] In order to protect against CSRF attacks, we send a cookie with each request.
|
||||
[17:27:20] To do so, we must specify allowable origins, which places a restriction on
|
||||
[17:27:20] cross-origin resource sharing.
|
||||
[17:27:20] If cross origin resource sharing is required, please disable server.enableXsrfProtection.
|
||||
[17:27:20] 2025-08-26 17:27:20.662 Port 8501 is already in use
|
||||
[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
|
||||
|
||||
+11
-11
@@ -1,11 +1,11 @@
|
||||
[17:27:18] 启动 media 应用...
|
||||
[17:27:20] 2025-08-26 17:27:20.342
|
||||
[17:27:20] Warning: the config option 'server.enableCORS=false' is not compatible with
|
||||
[17:27:20] 'server.enableXsrfProtection=true'.
|
||||
[17:27:20] As a result, 'server.enableCORS' is being overridden to 'true'.
|
||||
[17:27:20] More information:
|
||||
[17:27:20] In order to protect against CSRF attacks, we send a cookie with each request.
|
||||
[17:27:20] To do so, we must specify allowable origins, which places a restriction on
|
||||
[17:27:20] cross-origin resource sharing.
|
||||
[17:27:20] If cross origin resource sharing is required, please disable server.enableXsrfProtection.
|
||||
[17:27:20] 2025-08-26 17:27:20.659 Port 8502 is already in use
|
||||
[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
|
||||
|
||||
+11
-11
@@ -1,11 +1,11 @@
|
||||
[17:27:18] 启动 query 应用...
|
||||
[17:27:20] 2025-08-26 17:27:20.327
|
||||
[17:27:20] Warning: the config option 'server.enableCORS=false' is not compatible with
|
||||
[17:27:20] 'server.enableXsrfProtection=true'.
|
||||
[17:27:20] As a result, 'server.enableCORS' is being overridden to 'true'.
|
||||
[17:27:20] More information:
|
||||
[17:27:20] In order to protect against CSRF attacks, we send a cookie with each request.
|
||||
[17:27:20] To do so, we must specify allowable origins, which places a restriction on
|
||||
[17:27:20] cross-origin resource sharing.
|
||||
[17:27:20] If cross origin resource sharing is required, please disable server.enableXsrfProtection.
|
||||
[17:27:20] 2025-08-26 17:27:20.646 Port 8503 is already in use
|
||||
[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
|
||||
|
||||
+16
-27
@@ -1,31 +1,20 @@
|
||||
2025-08-26 17:05:45,220 - ReportEngine - INFO - 已加载 query 报告: 3769 字符
|
||||
2025-08-26 17:05:45,222 - ReportEngine - INFO - 已加载 media 报告: 3279 字符
|
||||
2025-08-26 17:05:45,224 - ReportEngine - INFO - 已加载 insight 报告: 2217 字符
|
||||
2025-08-26 17:05:45,225 - ReportEngine - INFO - 已加载论坛日志: 47 字符
|
||||
2025-08-26 17:05:45,226 - ReportEngine - INFO - 开始生成报告: 智能舆情分析报告
|
||||
2025-08-26 17:05:45,227 - ReportEngine - INFO - 输入数据 - 报告数量: 3, 论坛日志长度: 47
|
||||
2025-08-26 17:05:45,227 - ReportEngine - INFO - 选择报告模板...
|
||||
2025-08-26 17:05:45,227 - ReportEngine - INFO - [TemplateSelectionNode] 开始模板选择...
|
||||
2025-08-26 17:05:45,230 - ReportEngine - INFO - [TemplateSelectionNode] 尝试使用LLM进行模板选择...
|
||||
2025-08-26 17:05:58,747 - ReportEngine - INFO - [TemplateSelectionNode] LLM原始响应: ```json
|
||||
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
|
||||
{
|
||||
"template_name": "日常或定期舆情监测报告模板",
|
||||
"selection_reason": "查询内容“智能舆情分析报告”为通用性描述,未指定具体分析主题(如品牌、竞品或特定事件),也未体现紧急性或危机情况。这种常规性的、主题不明确的报告需求,最适合使用“日常或定期舆情监测报告模板”进行数据汇总和常规汇报。"
|
||||
"selection_reason": "用户的查询内容“智能舆情分析报告”是一个宽泛的描述,没有明确指出特定的分析主题(如品牌、竞品、危机或热点事件)。在这种情况下,该查询最符合常规性、周期性的舆情监控需求。因此,选择“日常或定期舆情监测报告模板”作为通用和基础的报告形式最为合适。"
|
||||
}
|
||||
```...
|
||||
2025-08-26 17:05:58,747 - ReportEngine - INFO - [TemplateSelectionNode] LLM选择模板: 日常或定期舆情监测报告模板
|
||||
2025-08-26 17:05:58,747 - ReportEngine - INFO - 选择模板: 日常或定期舆情监测报告模板
|
||||
2025-08-26 17:05:58,747 - ReportEngine - INFO - 选择理由: 查询内容“智能舆情分析报告”为通用性描述,未指定具体分析主题(如品牌、竞品或特定事件),也未体现紧急性或危机情况。这种常规性的、主题不明确的报告需求,最适合使用“日常或定期舆情监测报告模板”进行数据汇总和常规汇报。
|
||||
2025-08-26 17:05:58,748 - ReportEngine - INFO - 多轮生成HTML报告...
|
||||
2025-08-26 17:05:58,748 - ReportEngine - INFO - [HTMLGenerationNode] 开始生成HTML报告...
|
||||
2025-08-26 17:08:25,596 - ReportEngine - INFO - [HTMLGenerationNode] 处理LLM原始输出,长度: 14702 字符
|
||||
2025-08-26 17:08:25,596 - ReportEngine - INFO - [HTMLGenerationNode] 不是JSON格式,直接使用原始输出
|
||||
2025-08-26 17:08:25,597 - ReportEngine - INFO - [HTMLGenerationNode] HTML缺少基本结构,添加包装
|
||||
2025-08-26 17:08:25,597 - ReportEngine - INFO - [HTMLGenerationNode] HTML处理完成,最终长度: 14344 字符
|
||||
2025-08-26 17:08:25,597 - ReportEngine - INFO - [HTMLGenerationNode] HTML报告生成完成
|
||||
2025-08-26 17:08:25,597 - ReportEngine - INFO - HTML报告生成完成
|
||||
2025-08-26 17:08:25,598 - ReportEngine - INFO - 报告已保存到: final_reports\final_report__20250826_170825.html
|
||||
2025-08-26 17:08:25,599 - ReportEngine - INFO - 状态已保存到: final_reports\report_state__20250826_170825.json
|
||||
2025-08-26 17:08:25,599 - ReportEngine - INFO - 报告生成完成,耗时: 160.37 秒
|
||||
2025-08-26 17:27:19,107 - ReportEngine - INFO - Report Agent已初始化
|
||||
2025-08-26 17:27:19,108 - ReportEngine - INFO - 使用LLM: {'provider': 'Gemini', 'model': 'gemini-2.5-pro', 'api_base': 'https://www.chataiapi.com/v1', 'purpose': 'Report Generation'}
|
||||
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报告...
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"insight": 5,
|
||||
"media": 5,
|
||||
"query": 6
|
||||
"insight": 4,
|
||||
"media": 4,
|
||||
"query": 3
|
||||
}
|
||||
Reference in New Issue
Block a user