zengfanwei51 opened a new issue, #13544:
URL: https://github.com/apache/apisix/issues/13544
### Current Behavior
The ai-proxy plugin reports an error when proxying the Qwen model. The fix
is now as follows:
local decoder = content_decode.dispatch_decoder(headers["Content-Encoding"])
if decoder then
local decode_body, err = decoder(raw_res_body)
if decode_body then
raw_res_body = decode_body
end
end
### Expected Behavior
_No response_
### Error Logs
_No response_
### Steps to Reproduce
ai-proxy set endpoint as follows:
"endpoint":
"https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions"
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl
http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]