-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Allow setting API key in user settings #1320
Comments
1,只有管理能填apiurl和key,用户是免费用的。可以让用户自己填key,用自己的key对话。这样相当于比nextchat多一个上传文件了 |
@max00346 wouldn't it be simpler to just allow passing a user_id to the proxy? |
yes thanks, that would be even better! |
cc: @tjbck can you pass the user id to the openai endpoint? This should help here in abuse detection. |
Implemented as manifold pipe function in dev, more examples will be added to our community platform. |
There's an example of a moderation filter already in the Discord, we'll be sure to get that on the community site when integration is available. I'll be whipping all the present authors into getting uploaded 💪 |
Is your feature request related to a problem? Please describe.
There is no option to set per-user API keys. It would be nice to set individual limits and track costs for the users.
Describe the solution you'd like
An input field in the settings, available to users, to set an API key for the default OpenAI-compatible endpoint.
Describe alternatives you've considered
Using one key for all users (neither comfortable nor secure).
Additional context
I would love to see a solution to this in the future, making this project even more awesome!
The text was updated successfully, but these errors were encountered: