Paper-Guided Member C Runtime Execution and Visualization#9
Open
Panxiangzhenshuai wants to merge 17 commits into
Open
Paper-Guided Member C Runtime Execution and Visualization#9Panxiangzhenshuai wants to merge 17 commits into
Panxiangzhenshuai wants to merge 17 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
本 PR 完成了 Member C(Skill Runtime & Task Execution Agents)的论文导向优化,并在前端 Agent Execution 页面新增了执行过程图谱展示。同时修复了 Agent Execution 历史日志在后端重启后丢失的问题。
主要内容:
/execution/plan接入SkillRetriever和SkillGroupSupport -> Start -> Check的结构化 Skill 分组execution_graph字段,用于前端展示执行图Execution RAG Tree,展示任务、检索 Skill 和执行步骤关系论文对应关系
本 PR 将 Member C 的实现进一步对齐以下论文思想:
Support / Start / Check / Avoid结构化 Skill 分组后端改动
/execution/plan现在优先通过SkillRetriever获取结构化运行时 Skill 结果。ExecutionResult新增可选字段:verificationreflectionfailure_typerecovery_routeruntime_memoryexecution_graphSkillExecutor现在会在执行下游 Step 前解析类似${step_id.output_field}的 DAG 映射。execution_graph会返回:前端改动
ExecutionGraph、graph node、graph edge 等 TypeScript 类型。Execution RAG Tree。执行历史持久化修复
本 PR 还修复了 Agent Execution 页面在前后端重启后历史日志消失的问题。
问题原因
之前代码中虽然有执行历史持久化入口,但它依赖 PostgreSQL:
ExecutionHistoryRepository_execution_history因此在本地开发或 demo 环境中,如果 PostgreSQL 没有启动、连接失败或配置不匹配,执行历史只会存在内存里。后端一重启,前端 Agent Execution 页面中的历史日志就会消失。
修复方案
新增本地 JSONL 文件持久化 fallback: