2025-12-01 21:51:49 - DeconstructionSystem - INFO - [logger.py:58] - DeconstructionLogger initialized successfully 2025-12-01 21:51:50 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:56] - ScriptWorkflowV2 初始化完成,model_provider: google_genai 2025-12-01 21:51:50 - DeconstructionSystem.__main__ - INFO - [run_batch_script_v2.py:87] - 处理视频: channel_content_id=53009047 title=人到晚年,看看咱年轻时的模样!😊 2025-12-01 21:51:50 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:171] - === 开始执行 ScriptWorkflowV2(视频 → L3 单元 → L1/L2 整体解构) === 2025-12-01 21:51:50 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:73] - ScriptWorkflowV2 图构建完成 - 流程:视频上传 → L3 单元拆分 → 整体理解 2025-12-01 21:51:50 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:79] - === ScriptWorkflowV2:执行节点 video_upload === 2025-12-01 21:51:50 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:68] - 开始下载视频: https://rescdn.yishihui.com/longvideo/transcode/video/vpc/20250517/93cac5eae2b371328a163f3208a22d10.mp4 2025-12-01 21:51:50 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:275] - 构建文件路径: /Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/examples/53009047/53009047.mp4 2025-12-01 21:51:50 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:153] - 未在examples目录下找到同名文件,开始下载... 2025-12-01 21:51:52 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:203] - 视频下载完成,大小: 19.19 MB 2025-12-01 21:51:52 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:82] - 视频文件路径: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmp6u0d7hg5.mp4 2025-12-01 21:51:52 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:164] - 上传视频到Gemini: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmp6u0d7hg5.mp4 2025-12-01 21:53:35 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:120] - 等待文件处理... 2025-12-01 21:53:41 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:149] - 文件处理完成 2025-12-01 21:53:41 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:172] - 视频上传并处理完成 2025-12-01 21:53:41 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:114] - 视频上传成功,文件名称: None 2025-12-01 21:53:41 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:90] - 视频上传完成 - URI: https://generativelanguage.googleapis.com/v1beta/files/bdvzkevryr5l 2025-12-01 21:53:41 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:107] - === ScriptWorkflowV2:执行节点 content_unit_split === 2025-12-01 21:53:41 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:82] - ================================================================================ 2025-12-01 21:53:41 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:83] - 内容单元拆分 (ContentUnitSplitAgent) 2025-12-01 21:53:41 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:84] - ================================================================================ 2025-12-01 21:53:41 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:79] - 通过 URI 提取的 file_name 获取文件: bdvzkevryr5l 2025-12-01 21:53:42 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:101] - 开始视频脚本分析和L3单元拆分... 2025-12-01 21:53:42 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:258] - 内容单元拆分分析 - 开始视频分析... 2025-12-01 21:56:14 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:298] - 内容单元拆分分析 - 视频分析完成 2025-12-01 21:56:14 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:126] - 分析完成,单元数量: 57 2025-12-01 21:56:14 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:127] - ================================================================================ 2025-12-01 21:56:14 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:117] - L3 单元拆分完成,是否包含 markdown_result: False, 长度: 0 2025-12-01 21:56:14 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:133] - === ScriptWorkflowV2:执行节点 content_unit_understand === 2025-12-01 21:56:14 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:91] - ================================================================================ 2025-12-01 21:56:14 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:92] - 内容整体结构理解 (ContentUnitUnderstandAgent) 2025-12-01 21:56:14 - DeconstructionSystem.src.components.agents.content_unit_understand - INFO - [content_unit_understand.py:93] - ================================================================================ 2025-12-01 21:56:14 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:79] - 通过 URI 提取的 file_name 获取文件: bdvzkevryr5l 2025-12-01 21:56:14 - DeconstructionSystem.src.components.agents.content_unit_understand - ERROR - [content_unit_understand.py:165] - 内容整体结构理解分析失败: Invalid format specifier ' "整体节点信息", "整体实质×形式": "整体实质×形式分析", "纵向逻辑流": "整体纵向逻辑流分析", ' for object of type 'str' Traceback (most recent call last): File "/Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/src/components/agents/content_unit_understand.py", line 115, in process prompt = self._build_analysis_prompt(content_unit_analysis=content_unit_analysis) File "/Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/src/components/agents/content_unit_understand.py", line 208, in _build_analysis_prompt "整体解构": { ^ ...<3 lines>... }, ^ ValueError: Invalid format specifier ' "整体节点信息", "整体实质×形式": "整体实质×形式分析", "纵向逻辑流": "整体纵向逻辑流分析", ' for object of type 'str' 2025-12-01 21:56:14 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:143] - 整体结构理解完成,是否包含 markdown_result: True, 长度: 0 2025-12-01 21:56:14 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:184] - === ScriptWorkflowV2 执行完成 === 2025-12-01 21:56:14 - DeconstructionSystem.__main__ - INFO - [run_batch_script_v2.py:87] - 处理视频: channel_content_id=58840748 title=🔴😂笑死了!让狗咬了,还要粘住嘴 2025-12-01 21:56:14 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:171] - === 开始执行 ScriptWorkflowV2(视频 → L3 单元 → L1/L2 整体解构) === 2025-12-01 21:56:14 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:79] - === ScriptWorkflowV2:执行节点 video_upload === 2025-12-01 21:56:14 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:68] - 开始下载视频: https://rescdn.yishihui.com/longvideo/transcode/video/vpc/20250929/ce8968e2f346103b83b75c0c8100028e.mp4 2025-12-01 21:56:14 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:275] - 构建文件路径: /Users/jihuaqiang/piaoquan/aigc_how_decode_base_project_0916_1125/examples/58840748/58840748.mp4 2025-12-01 21:56:14 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:153] - 未在examples目录下找到同名文件,开始下载... 2025-12-01 21:56:17 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:203] - 视频下载完成,大小: 21.70 MB 2025-12-01 21:56:17 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:82] - 视频文件路径: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmp2nbkazpw.mp4 2025-12-01 21:56:17 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:164] - 上传视频到Gemini: /var/folders/zg/ktsngwv13cd2wp32tyfx17_c0000gn/T/tmp2nbkazpw.mp4 2025-12-01 21:57:43 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:120] - 等待文件处理... 2025-12-01 21:57:49 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:149] - 文件处理完成 2025-12-01 21:57:49 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:172] - 视频上传并处理完成 2025-12-01 21:57:49 - DeconstructionSystem.src.components.functions.video_upload_function - INFO - [video_upload_function.py:114] - 视频上传成功,文件名称: None 2025-12-01 21:57:49 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:90] - 视频上传完成 - URI: https://generativelanguage.googleapis.com/v1beta/files/05dh0oy2b2cc 2025-12-01 21:57:49 - DeconstructionSystem.src.workflows.script_workflow_v2 - INFO - [script_workflow_v2.py:107] - === ScriptWorkflowV2:执行节点 content_unit_split === 2025-12-01 21:57:49 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:82] - ================================================================================ 2025-12-01 21:57:49 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:83] - 内容单元拆分 (ContentUnitSplitAgent) 2025-12-01 21:57:49 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:84] - ================================================================================ 2025-12-01 21:57:49 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:79] - 通过 URI 提取的 file_name 获取文件: 05dh0oy2b2cc 2025-12-01 21:57:49 - DeconstructionSystem.src.components.agents.content_unit_split_agent - INFO - [content_unit_split_agent.py:101] - 开始视频脚本分析和L3单元拆分... 2025-12-01 21:57:49 - DeconstructionSystem.src.utils.llm_invoker - INFO - [llm_invoker.py:258] - 内容单元拆分分析 - 开始视频分析...