mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #8290] Bug: KeyError: 'API_KEY_ALLOWED_PATHS' #53735
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 @almajo on GitHub (Jan 3, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8290
Originally assigned to: @tjbck on GitHub.
Bug Report
Environment
Confirmation:
Expected Behavior:
I want to call some api routes that are not automatically available through the new api restrictions. I expect this to work.
Actual Behavior:
There is an error that the key is not existing
Description
Bug Summary:
I used the user interface to activate the newly introduced API-Key restrictions and specified some paths. However, the app throws a Key Error because it can't find the 'API_KEY_ALLOWED_PATHS'.
Reproduction Details
Steps to Reproduce:
/api/models,/api/v1/pipelines/list/api/v1/pipelines/listLogs and Screenshots
@almajo commented on GitHub (Jan 3, 2025):
Obviously it's a naming issue as it should be called 'API_KEY_ALLOWED_ENDPOINTS'. I can't see commit
99386bfresolving this in the upcoming version of #8246 ?@tjbck commented on GitHub (Jan 3, 2025):
Good catch, fixed on dev!