Closed Sherlock290 closed 1 month ago
Please follow the issue template to update description of your issue.
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug]
大多数大模型都不支持跨域。也就是说直接在浏览器往模型api发请求,基本都会失败。使用自定义接口的时候,可以只填写apikey,使用默认的接口地址(这个接口地址实际上是使用内置的next server在服务端发请求,这样就能避免出现跨域错误)
Bot detected the issue body's language is not English, translate it automatically.
Most large models do not support cross-domain. In other words, sending requests directly to the model api in the browser will basically fail. When using a custom interface, you can only fill in the apikey and use the default interface address (this interface address actually uses the built-in next server to send requests to the server, so as to avoid cross-domain errors)
📦 Deployment Method
Vercel
📌 Version
2.13.1
💻 Operating System
Windows
📌 System Version
win10 22h2
🌐 Browser
Edge
📌 Browser Version
126.0.2592.113 (正式版本) (64 位)
🐛 Bug Description
Alibaba's DashScope interface cannot be used, but it is normal for me to use the postman test interface. I think it should be a bug or other problem in the project.
📷 Recurrence Steps
🚦 Expected Behavior
Expect a reply: "Hello, if you have any questions or need help, please let me know. " But the actual reply is as follows:
📝 Additional Information