[FEATURE] Repo/code chat (RAG grounded via MokoGitea MCP + embeddings) #767

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

Ask natural-language questions about a repository; answers grounded in the actual code, issues, and wiki.

Proposed Solution

Index repo content with MokoAi /v1/embeddings; at query time retrieve relevant chunks and answer via /v1/chat/completions, using the MokoGitea MCP tools to fetch files/PRs live as the user.

Dependencies

  • MokoConsulting/mokoai#2 (MCP), #8 (embeddings), #1 (bridge auth).

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 Ask natural-language questions about a repository; answers grounded in the actual code, issues, and wiki. ## Proposed Solution Index repo content with MokoAi /v1/embeddings; at query time retrieve relevant chunks and answer via /v1/chat/completions, using the MokoGitea MCP tools to fetch files/PRs live as the user. ## Dependencies - MokoConsulting/mokoai#2 (MCP), #8 (embeddings), #1 (bridge auth). ## 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.