feat: add Graph Tool code and handoff reason to agent run log model and related components

This commit is contained in:
mlogclub
2026-04-10 16:23:25 +08:00
parent c1d42be1fc
commit 023ba802e4
7 changed files with 64 additions and 3 deletions
+2
View File
@@ -952,6 +952,8 @@ type AgentRunLog struct {
SkillRouteTrace string `gorm:"type:text"`
ToolSearchTrace string `gorm:"type:text"`
GraphToolTrace string `gorm:"type:text"`
GraphToolCode string `gorm:"type:varchar(200);not null;default:'';index"`
HandoffReason string `gorm:"type:varchar(500);not null;default:''"`
PlannedToolCode string `gorm:"type:varchar(200);not null;default:'';index"`
PlanReason string `gorm:"type:varchar(500);not null;default:''"`
InterruptType string `gorm:"type:varchar(50);not null;default:'';index"`