feat(sight): improve interruption detection and visualization#808
Open
Daydreamer-Li wants to merge 1 commit into
Open
feat(sight): improve interruption detection and visualization#808Daydreamer-Li wants to merge 1 commit into
Daydreamer-Li wants to merge 1 commit into
Conversation
- Fix interruption count not filtering by agent selection in dashboard - Add interruption marking in ATIF trace viewer (red pulse dot, severity border, type badges, expandable detail panel) - Tune dead_loop detection thresholds from 3 to 5 consecutive repeats - Add stats_filtered() to support agent_name filtering in interruption API - Embed call_id in ATIF step extra for precise interruption-to-step matching Signed-off-by: liyuqing <liyuqing@alibaba-inc.com>
1 task
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.
Summary
Improve the interruption detection system with three key enhancements: dashboard agent filtering, ATIF trace visualization, and dead_loop threshold tuning.
Changes
Dashboard interruption count agent filtering
interruption_countandinterruption_statsAPI handlers to respectagent_namequery parameterstats_filtered()method to InterruptionStore supporting optional agent_name filterGROUP BYto includeseveritycolumnfetchInterruptionStatsto pass agentName parameterATIF trace interruption marking
call_idin ATIF stepextrafield (converter.rs) for precise matchingDeadLoop detection threshold tuning
tool_sequence_repeat_threshold: 3 → 5similar_output_repeat_threshold: 3 → 5window_size: 10 → 12Impact
Related Issue
closes #809
Testing
cargo checkpassescargo test— 539 tests pass, 0 failurestsc --noEmit) passesType of Change
Scope
sight(agentsight)Checklist