feat: disabling openai compatile endpoints for non in app chat usage #23429
Replies: 4 comments 2 replies
|
You can disable the API key in the Admin-Panel under Users => Groups => Default Permissions. Or you can set this for each group. The /api/models will still show the models but output but when using /api/chat/completions you will geht |
but we need api keys for some other stuff and users can just use their JWT token |
That could be managed via Group Permissions (New Group with API Permission)
Thats true. But only "advanced users" know how to get it ;-) |
|
Duplicate, there are open issues discussing the same thing. Plus can't disable the open ai endpoint. That would literally make the frontend unusable |
Uh oh!
There was an error while loading. Please reload this page.
Check Existing Issues
Verify Feature Scope
Problem Description
Currently, Open WebUI lacks the ability to track model usage when requests are made directly via the API rather than through the chat interface. We need a way to monitor all model activity to ensure comprehensive usage tracking.
Desired Solution you'd like
It would be highly beneficial to add an option to restrict access to the OpenAI-compatible API, ensuring that models can only be accessed through the Open WebUI interface.
Alternatives Considered
No response
Additional Context
No response
All reactions