Originally created by @max00346 on GitHub (Mar 27, 2024).
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!
Originally created by @max00346 on GitHub (Mar 27, 2024).
**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!
@max00346 wouldn't it be simpler to just allow passing a user_id to the proxy?
yes thanks, that would be even better!
@max00346 commented on GitHub (May 28, 2024):
> @max00346 wouldn't it be simpler to just allow passing a user_id to the proxy?
yes thanks, that would be even better!
@krrishdholakia commented on GitHub (May 28, 2024):
cc: @tjbck can you pass the user id to the openai endpoint?
This should help here + in abuse detection.
@krrishdholakia commented on GitHub (May 28, 2024):
cc: @tjbck can you pass the user id to the openai endpoint?
This should help here + in abuse detection.
@tjbck commented on GitHub (Jun 22, 2024):
Implemented as manifold pipe function in dev, more examples will be added to our community platform.



[function-openai_manifold-export-1719090778471.json](https://github.com/user-attachments/files/15941957/function-openai_manifold-export-1719090778471.json)
cc: @tjbck can you pass the user id to the openai endpoint?
This should help here + in abuse detection.
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 💪
@justinh-rahb commented on GitHub (Jun 23, 2024):
> cc: @tjbck can you pass the user id to the openai endpoint?
>
> This should help here + in abuse detection.
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 💪
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @max00346 on GitHub (Mar 27, 2024).
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!
@wang0yue commented on GitHub (May 27, 2024):
+1,只有管理能填apiurl和key,用户是免费用的。可以让用户自己填key,用自己的key对话。这样相当于比nextchat多一个上传文件了
@krrishdholakia commented on GitHub (May 28, 2024):
@max00346 wouldn't it be simpler to just allow passing a user_id to the proxy?
@max00346 commented on GitHub (May 28, 2024):
yes thanks, that would be even better!
@krrishdholakia commented on GitHub (May 28, 2024):
cc: @tjbck can you pass the user id to the openai endpoint?
This should help here + in abuse detection.
@tjbck commented on GitHub (Jun 22, 2024):
Implemented as manifold pipe function in dev, more examples will be added to our community platform.
function-openai_manifold-export-1719090778471.json
@justinh-rahb commented on GitHub (Jun 23, 2024):
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 💪