-
-
Notifications
You must be signed in to change notification settings - Fork 12.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
智普的嵌入模型一直秘钥错误 #7186
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
还有一个 |
@webwww123 你好!我是Dosu,一个可以帮助你解决问题、回答疑问并成为贡献者的机器人。在等待人类维护者的期间,我可以帮助你解决问题。 To resolve the "InvalidProviderAPIKey" error with the ZHIPU_API_KEY on Vercel, ensure that the API key is valid and has not expired. Here are some steps you can take:
These steps should help resolve the issue with the Zhipu embedding model on Vercel [1][2]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
📦 Platform
Vercel
📦 Deploymenet mode
client db (lobe-chat image)
📌 Version
最新
💻 Operating System
Windows
🌐 Browser
Chrome, Edge
🐛 Bug Description
新增了vercel的环境变量DEFAULT_FILES_CONFIG=embedding_model=zhipu/embedding-3,reranker_model=zhipu/rerank,query_mode=full_text
还有一个ZHIPU_API_KEY
一直报错apikey不对
{
endpoint: 'https://open.bigmodel.cn/api/paas/v4',
error: Error: 401 令牌已过期或验证不正确!
at tH.generate (.next/server/chunks/50850.js:5:59351)
at sa.makeStatusError (.next/server/chunks/50850.js:5:73758)
at sa.makeRequest (.next/server/chunks/50850.js:5:74702)
at async Object.embeddings (.next/server/chunks/75502.js:1:9078)
at async (.next/server/chunks/38964.js:1:32514)
at async a.middlewares (.next/server/chunks/54015.js:1:13112)
at async f (.next/server/chunks/54015.js:4:68)
at async f (.next/server/chunks/54015.js:4:68)
at async f (.next/server/chunks/54015.js:4:68) {
status: 401,
headers: {
connection: 'keep-alive',
'content-length': '73',
'content-type': 'application/json',
date: 'Thu, 27 Mar 2025 03:33:00 GMT',
server: 'ZenZGA/2.4',
'strict-transport-security': 'max-age=31536000; includeSubDomains',
vary: 'Origin, Access-Control-Request-Method, Access-Control-Request-Headers',
'x-log-id': '20250327113300021b615f89174f53'
},
request_id: undefined,
error: { code: '401', message: '令牌已过期或验证不正确!' },
code: '401',
param: undefined,
type: undefined
},
errorType: 'InvalidProviderAPIKey',
provider: 'zhipu'
}
还有一个报错:
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: