Skip to content
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

[Bug] 我用vercel部署之后,让我的同学在他的电脑上打开网站测试显示出错 #6325

Open
xxH7r opened this issue Mar 2, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@xxH7r
Copy link

xxH7r commented Mar 2, 2025

📦 Deployment Method

Vercel

📌 Version

2.15.8

💻 Operating System

Windows

📌 System Version

win10

🌐 Browser

Edge

📌 Browser Version

133.0.3065.92

🐛 Bug Description

我自己在deepseek上购买了api,并在vercel一键部署时,设置了变量,输入了api key和code。我在自己的电脑上使用网站时不会出错,当我用我同学的笔记本测试时,输入了我设置的code然后就看到聊天框出现"error": { "message": "Authentication Fails (no such user)", "type": "authentication_error", "param": null, "code": "invalid_request_error" } }
我不是很懂代码,是一个想要尝试做一个网页的新手,所以我的知识不足以解决,也进行了搜索,无法解决

📷 Recurrence Steps

vercel部署后设置api key和code
用不同设备测试时,发现输入code后使用会出现"error": { "message": "Authentication Fails (no such user)", "type": "authentication_error", "param": null, "code": "invalid_request_error" } }

🚦 Expected Behavior

希望解答下我的疑惑

📝 Additional Information

No response

@xxH7r xxH7r added the bug Something isn't working label Mar 2, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] After I deployed it with vercel, I asked my classmate to open the website on his computer and test it showed an error.

@xxH7r
Copy link
Author

xxH7r commented Mar 2, 2025

现在还有一个问题,在设置中自定义模型后,报错显示
{
"error": {
"message": "Incorrect API key provided: sk-ae53b***********************e1a6. You can find your API key at https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_api_key"
}
}

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


There is still another problem now. After customizing the model in the settings, an error is displayed
{
"error": {
"message": "Incorrect API key provided: sk-ae53b************************e1a6. You can find your API key at https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_api_key"
}
}

@zqc-cs
Copy link

zqc-cs commented Mar 4, 2025

Image
选中Custom Endpoint,选择Deepseek ,输入API地址和API KEY

@xxH7r
Copy link
Author

xxH7r commented Mar 6, 2025

Image 选中Custom Endpoint,选择Deepseek ,输入API地址和API KEY

现在问题已经解决,我用custom_model将所有模型删去,只留下deepseek的模型,现在已经可以正常使用,除此之外此项目是否不支持多url?我在deepseek模型外加入了硅基流动的api和url,然而并不能使用,不过好在我目前可以正常使用deepseek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants