The download_pipelines function is a bit too explicitly geared towards public github repos. I am currently attempting to download from a private repo that requires authentication, for these things usually passed in the form of
https://:@gitlab.contoso.local/namespace/repo.git, or namespace/repo/filename.ext. The parsing to validate an HTTP url is specific enough that its either github, or a single file.
https://github.com/open-webui/pipelines/blob/d4fca4c37c4b8603be7797245e749e9086f35130/start.sh#L52
The download_pipelines function is a bit too explicitly geared towards public github repos. I am currently attempting to download from a private repo that requires authentication, for these things usually passed in the form of https://:@gitlab.contoso.local/namespace/repo.git, or namespace/repo/filename.ext. The parsing to validate an HTTP url is specific enough that its either github, or a single file.
Related, but in a different function, the requirements.txt file apparently has to already be local, it would be nice if it could either read from a repo, or run after pulling the repo so you can get a requirements.txt from the repo itself. https://github.com/open-webui/pipelines/blob/d4fca4c37c4b8603be7797245e749e9086f35130/start.sh#L33
Thanks!