feat: implement buildResumeTargets function and update resume handling logic

This commit is contained in:
mlogclub
2026-04-14 18:27:45 +08:00
parent e4cec52661
commit 1766eadcf1
6 changed files with 66 additions and 8 deletions
@@ -100,7 +100,7 @@ func (t *AnalyzeConversationTool) Info(ctx context.Context) (*schema.ToolInfo, e
}),
Extra: map[string]any{
"toolCode": toolx.GraphAnalyzeConversation.Code,
"sourceType": "graph",
"sourceType": toolx.GraphAnalyzeConversation.SourceType,
},
}, nil
}
@@ -69,7 +69,7 @@ func (t *HandoffGraphTool) Info(ctx context.Context) (*schema.ToolInfo, error) {
}),
Extra: map[string]any{
"toolCode": toolx.GraphHandoffConversation.Code,
"sourceType": "graph",
"sourceType": toolx.GraphHandoffConversation.SourceType,
},
}, nil
}