强制使用环境变量中的API Keys和Proxy设置 #10427
Young-Nong
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
你好,我们现在使用casdoor+db+nextauth的私有化部署,我们想让所有的用户统一使用一样的API Key,Proxy,以及模型列表设置。但是我们发现lobe-chat会调用数据库,并使用之前他们设置好的API Key,Proxy,和模型设置,而非使用我们在环境变量里的设置,导致模型出错。
请问有没有什么办法在casdoor+db+nextauth的私有化部署的情况下强制所有用户使用环境变量里的设置?如果当前没有这样的设计,可否告知db里的用户设置覆盖环境变量的源代码,以便我们自己做修改?
感谢!
Beta Was this translation helpful? Give feedback.
All reactions