-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
[Request] 希望支持one-api 部署后的代理 目前无法使用 #263
Comments
部署的时候设置一下proxy url的环境变量? https://github.com/lobehub/lobe-chat/blob/main/docs/Environment-Variable.zh-CN.md |
回去试下看行不行 |
配置可以,但是不能通过oneapi 选择模型。
配置好,默认可以调用chatgpt的api和语言模型,但其他模型如通义千问、文心一言、本地部署的llm不能调用。 建议参考chat-next-web的方法,直接可以自定义模型名称,这样可以跟oneapi完美配合。 lobe-chat就不用花功夫在模型适配上,而是专注于插件和生态的建设。 |
我现在用oneapi是正常可以使用 只是lobe没有更多可以选或自定义模型 |
本周补齐「添加自定义模型」的功能 |
🎉 This issue has been resolved in version 0.87.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
需要有微信支付权限的用户进行验证
💻 系统环境 | Operating System
macOS
🌐 浏览器 | Browser
Chrome
🐛 问题描述 | Bug Description
用https://github.com/songquanpeng/one-api 这个One-Api搭建的代理没法再Lobe-Chat使用,我自己拉了源码来看不知道什么原因造成的 我试了下不通过 /api/openai/chat进行请求是可以的 不知道是不是使用的npm库openai 这个库不兼容 麻烦大佬空了看下
🚦 期望结果 | Expected Behavior
希望支持One-Api 部署的代理
📷 复现步骤 | Recurrence Steps
No response
📝 补充信息 | Additional Information
No response
The text was updated successfully, but these errors were encountered: