Revolyssup commented on code in PR #12518:
URL: https://github.com/apache/apisix/pull/12518#discussion_r2275708402


##########
t/plugin/ai-rate-limiting.t:
##########
@@ -969,17 +937,9 @@ Authorization: Bearer token
                                     "provider": "openai",
                                     "weight": 1,
                                     "priority": 0,
-                                    "auth": {
-                                        "header": {
-                                            "Authorization": "Bearer token"
-                                        }
-                                    },
-                                    "options": {
-                                        "model": "gpt-3"
-                                    },
-                                    "override": {
-                                        "endpoint": "http://localhost:16724";
-                                    }
+                                    "auth": {"header": {"Authorization": 
"Bearer token"}},

Review Comment:
   This change is to avoid the error coming from luajit that string too long. 



-- 
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]

Reply via email to