mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
[PR #4372] [MERGED] build: Adding ability to install requirements from frontmatter for tools and functions #8273
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/4372
Author: @JTHesse
Created: 8/5/2024
Status: ✅ Merged
Merged: 8/13/2024
Merged by: @tjbck
Base:
dev← Head:main📝 Commits (5)
a58dfccMerge pull request #4273 from open-webui/devd3146d2Merge pull request #4304 from open-webui/devcec5fddAdded EXTRA_MODULES argument71d88ferevert367fa03added install_frontmatter_requirements📊 Changes
2 files changed (+13 additions, -1 deletions)
View changed files
📝
backend/apps/webui/utils.py(+13 -0)📝
backend/start.sh(+0 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
This PR adds the ability to install extra Python modules at runtime. When EXTRA_MODULES is set, this script will load and install the specified modules using pip.
Example Use Case:
To use this feature, simply set the
EXTRA_MODULESenvironment variable. For example:Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.