Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Improve agent trigger analytics info

Tomas Valenta9570b5a49596
diff --git a/github/webhooks.ts b/github/webhooks.ts
index 08bb21e58..f8424d846 100644
--- a/github/webhooks.ts
+++ b/github/webhooks.ts
@@ -90,6 +90,8 @@ const pullRequestEditHandler: HandlerFunction<'pull_request.edited', unknown> =
pr_action: payload.action,
pr_url: payload.pull_request.url,
repository: payload.repository.full_name,
+ pr_body: payload.pull_request.body,
+ prompt,
},
})
})
@@ -184,6 +186,8 @@ const issueCommentHandler: HandlerFunction<'issue_comment', unknown> = async (ev
pr_comment_action: payload.action,
pr_url: pr.data.url,
repository: payload.repository.full_name,
+ comment_body: payload.comment.body,
+ prompt,
},
})
})