[FEATURE] AI PR review assistant (MokoAi-powered) #764

Open
opened 2026-07-12 22:42:43 +00:00 by jmiller · 0 comments
Owner

Child of #763 (Native AI features in MokoGitea via the MokoAi stack).

Feature Description

Summarize a pull request diff and post an AI review: risk/bug flags, style notes, and concrete suggestions rendered as review comments.

Proposed Solution

On PR open/update (opt-in), collect the diff via the MokoGitea MCP tools, send to MokoAi /v1/chat/completions with a review prompt, and post structured comments. Offer an on-demand 'AI review' button.

Dependencies

  • MokoConsulting/mokoai#1 (bridge auth), #2 (MCP), #3 (routing).
  • Model alias: mokoai-coder.

Notes

  • Runs as the requesting user via MokoGitea-bridge auth (no shared keys).
  • Calls the self-hosted MokoAi gateway; feature-flagged; all inference stays on-prem.
Child of #763 (Native AI features in MokoGitea via the MokoAi stack). ## Feature Description Summarize a pull request diff and post an AI review: risk/bug flags, style notes, and concrete suggestions rendered as review comments. ## Proposed Solution On PR open/update (opt-in), collect the diff via the MokoGitea MCP tools, send to MokoAi /v1/chat/completions with a review prompt, and post structured comments. Offer an on-demand 'AI review' button. ## Dependencies - MokoConsulting/mokoai#1 (bridge auth), #2 (MCP), #3 (routing). - Model alias: mokoai-coder. ## Notes - Runs as the requesting user via MokoGitea-bridge auth (no shared keys). - Calls the self-hosted MokoAi gateway; feature-flagged; all inference stays on-prem.
Sign in to join this conversation.