You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
🥰 需求描述 | Feature Description
当用户配置自定义的openai的endpoint的时候,出现了例如rate limit,或者额度不足的时候会在前端页面暴露后端设置的endpoint,建议隐藏endpoint 的url,容易被恶意攻击
🧐 解决方案 | Proposed Solution
我看了下改下这里的代码应该就可以了,【可能还有其他地方】
https://github.com/lobehub/lobe-chat/blob/main/src/app/api/openai/chat/createChatCompletion.ts
📝 补充信息 | Additional Information
No response
The text was updated successfully, but these errors were encountered: