aurorax-neo / coze-chat-proxy

a coze chat proxy
MIT License
75 stars 17 forks source link

运行local.8088后提示正常,但后台显示Api-key不对 #4

Open ymg2007 opened 10 months ago

ymg2007 commented 10 months ago

{"message":"Hello world! This is coze-chat-proxy."} {"code":"invalid_api_key","message":"Incorrect API key provided: sk-4yNZz***6mjw.","param":null,"type":"invalid_request_error"}

aurorax-neo commented 10 months ago

{"message":"Hello world! This is coze-chat-proxy."} {"code":"invalid_api_key","message":"Incorrect API key provided: sk-4yNZz***6mjw.","param":null,"type":"invalid_request_error"}

.env或者环境变量添加 AUTH_TOKEN=*,请求头加上 'Authorization: Bearer **'