mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[PR #49] [MERGED] As discussed (discussions/24), this new parameter 'prefix' adds an op… #155
Labels
No labels
bug
can't reproduce
documentation
enhancement
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/mcpo#155
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/mcpo/pull/49
Author: @MHugonKaliop
Created: 4/4/2025
Status: ✅ Merged
Merged: 4/5/2025
Merged by: @tjbck
Base:
dev← Head:feat/add-prefix-from-discussion-24📝 Commits (6)
6c003f8As discussed (discussions/24), this new parameter 'prefix' adds an optional prefix to the routes of the servicesd74e1ceadded usage of the new parameter12b61f4renamed prefix to path_prefix20d2e91Merge branch 'dev' into feat/add-prefix-from-discussion-25ce81196finished renaming of prefixc1c82c3merge final correction📊 Changes
2 files changed (+17 additions, -1 deletions)
View changed files
📝
src/mcpo/__init__.py(+15 -0)📝
src/mcpo/main.py(+2 -1)📄 Description
Changelog Entry
Description
This pull request adds an option parameter "prefix".
If present, all the routes will be prefixed with this parameter.
Discussed here : https://github.com/open-webui/mcpo/discussions/24
Added
Command line, optional parameter "--prefix mcpo" of "-x mcpo"
Changed
This parameter changes the "mount" option of every sub_app to apply this optional parameter
Deprecated
None
Removed
None
Fixed
None
Security
None
Breaking Changes
None
Additional Information
None
Screenshots or Videos
None
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.