MCPcopy Create free account
hub / github.com/Fallomai/spinai / getPRReviewAgent

Function getPRReviewAgent

templates/github-code-review-agent/src/github-agent.ts:51–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 * Get the PR review agent (creates it if it doesn't exist yet)
50 */
51export async function getPRReviewAgent() {
52 if (!agentPromise) {
53 agentPromise = createPRReviewAgent();
54 }
55 return agentPromise;
56}
57
58// Export the original creation function for testing/mocking
59export { createPRReviewAgent };

Callers 3

handleNewPullRequestFunction · 0.90
handleIssueCommentFunction · 0.90
handleReviewCommentFunction · 0.90

Calls 1

createPRReviewAgentFunction · 0.85

Tested by

no test coverage detected