diff --git a/llm/tool/ast_read.go b/llm/tool/ast_read.go index fedebc20..bddc68d9 100644 --- a/llm/tool/ast_read.go +++ b/llm/tool/ast_read.go @@ -491,6 +491,8 @@ func (t *ASTReadTools) GetASTNode(_ context.Context, params GetASTNodeReq) (*Get grps = append(grps, NewNodeID(grp.Identity)) } resp.Nodes = append(resp.Nodes, NodeStruct{ + ModPath: node.Identity.ModPath, + PkgPath: node.Identity.PkgPath, Name: node.Identity.Name, Type: node.Type.String(), Codes: node.Content(),