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