leolee
leolee
前端报跨域错误CORS
如图所示,服务貌似都启动了,调用chat报错。 
用客户端调用时提示: { "error": { "message": "当前分组 default 下对于模型 mixtral-8x7b-32768 无可用渠道 (request id: 2024031116033479287027349069028)", "type": "one_api_error" }, "endpoint": "http://192.168.***.32:****/v1", "provider": "openai" } 只有mixtral-8x7b-32768 这个模型无法调用,其余两个都可以。 这是Groq的playground截图: 
The deployment was not successful, regardless of whether I used Ollama openai, All show uvicorn. error: connection closed。 server-1 | [15:31:04.245190] DEBUG uvicorn.error: = connection is protocol.py:1227 server-1 | CLOSING...