mirror of
https://github.com/open-webui/mcpo.git
synced 2026-11-05 01:27:39 +00:00
[PR #76] [CLOSED] fix: order of environment injection using config file #167
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#167
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/76
Author: @alexhilgart
Created: 4/14/2025
Status: ❌ Closed
Base:
dev← Head:env_injection📝 Commits (1)
3ad146eChange order of environment injection using config file📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/mcpo/main.py(+1 -1)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
os.environ) over those defined in the server configuration file (server_cfg["env"]).The motivation for this change is:
--envor--env-patharguments, ensuring that secrets are not exposed in committed files while still enabling flexible configuration.Fixed
sub_app.state.envto prioritize environment variables fromos.environover those fromserver_cfg(closes #66)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.