nic-6443 commented on code in PR #13466: URL: https://github.com/apache/apisix/pull/13466#discussion_r3352922727
########## apisix/plugins/ai-proxy-multi.lua: ########## @@ -500,6 +500,11 @@ local function pick_ai_instance(ctx, conf, ups_tab) end function _M.access(conf, ctx) + local _, body_err = core.request.get_body(conf.max_req_body_size) Review Comment: Additionally, I realized variables like `post_args.model` defined within `route.var` will also trigger body reading, and this cannot be restricted via plugin configuration. -- 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]
