mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #22909] feat: Native Azure DevOps Repos (Git) integration as a Knowledge Base source for RAG #19840
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @giovanisp on GitHub (Mar 20, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22909
Check Existing Issues
Verify Feature Scope
Problem Description
In enterprise and team environments, source code lives in Azure DevOps Git repositories. Currently there is no native way to point a Knowledge Base directly at an Azure DevOps Repo and have OpenWebUI sync and index the content automatically for RAG.
The only workaround is maintaining an external sync script that periodically clones the repo, uploads files via POST /api/v1/files/, adds them to a KB via POST /api/v1/knowledge/{id}/file/add, and manually tracks additions/deletions using file hashes. This is fragile, requires infrastructure outside OpenWebUI, and creates a significant operational burden for admins — especially when the goal is simply to give a whole team a shared AI assistant that knows the codebase, with zero per-user configuration.
Desired Solution you'd like
A first-class "Git Repository" Knowledge Base source type, with Azure DevOps Repos as a supported provider, configurable entirely from the Admin UI:
Connection settings: organization URL, project, repository name, branch, and authentication (PAT or Azure AD service principal)
Indexing filter: file extensions or path patterns to include (e.g. *.cs, *.ts, src/**)
Sync trigger: either a scheduled interval (every N minutes) or an inbound webhook endpoint that Azure DevOps can call on push events for incremental re-sync
Zero user-side config: once an admin attaches the KB to a Custom Model, all users of that model get RAG on the codebase automatically
The Git repo source would appear alongside existing KB sources (manual file upload, web crawl) in Workspace → Knowledge.
Alternatives Considered
Additional Context
@selenecodes commented on GitHub (Mar 24, 2026):
Would be nice if this were implemented as a generic adapter so that it would be easy to implement other sources as well e.g. SMB shares/local files, chat integration with things like Slack.
@Classic298 commented on GitHub (Apr 15, 2026):
Interesting feature request, definitely useful, but belongs in discussions as per