(state: Paper2VideoState)
| 299 | return state |
| 300 | |
| 301 | async def beamer_code_debug_node(state: Paper2VideoState) -> Paper2VideoState: |
| 302 | from dataflow_agent.agentroles import create_react_agent |
| 303 | log.info(f"开始执行 p2v_beamer_code_debug node节点") |
| 304 | agent = create_react_agent( |
| 305 | name="p2v_beamer_code_debug", |
| 306 | model_name="gpt-4o-2024-11-20", |
| 307 | max_retries=10, |
| 308 | validators=[beamer_code_validator], |
| 309 | ) |
| 310 | state = await agent.execute(state) |
| 311 | return state |
| 312 | |
| 313 | async def beamer_code_upgrade_node(state: Paper2VideoState) -> Paper2VideoState: |
| 314 | log.info(f"开始执行 p2v_beamer_code_debug node节点") |
nothing calls this directly
no test coverage detected