nic-6443 commented on code in PR #12012:
URL: https://github.com/apache/apisix/pull/12012#discussion_r1976522498


##########
apisix/plugins/ai-proxy-multi.lua:
##########
@@ -215,7 +215,7 @@ local function proxy_request_to_llm(conf, request_table, 
ctx)
     local ai_driver = require("apisix.plugins.ai-drivers." .. provider)
     local res, err, httpc = ai_driver:request(conf, request_table, extra_opts)
     if not res then
-        if (ctx.balancer_try_count or 0) < 1 then
+        if (ctx.ai_balancer_try_count or 0) < 2 then

Review Comment:
   @membphis Do we need to make the number of retries a 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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to