Skip to content

[sight] feat(sight): improve interruption detection and visualization #809

@Daydreamer-Li

Description

@Daydreamer-Li

Problem

  1. Dashboard 中异常中断次数不会根据 Agent 下拉框的选择而改变,始终显示全量数据
  2. 点击详情进入 ATIF 交互轨迹页面后,无法看到具体哪一步出了问题,排查困难
  3. DeadLoop 检测阈值过低(3次),容易产生误报

Proposed Solution

  1. 后端 interruption_count/interruption_stats handler 传递 agent_name 参数过滤
  2. ATIF 轨迹页面通过 call_id 匹配中断事件到具体步骤,并以视觉方式标注
  3. 将 dead_loop 检测的重复次数阈值从 3 调整为 5

Component

  • sight (agentsight)

Additional Context

已提交 PR #808 包含所有修复

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions