This is an automated email from the ASF dual-hosted git repository.

shreemaan-abhishek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 412d31dc7 test(ai-aliyun-content-moderation): remove unused mock LLM 
location (#13354)
412d31dc7 is described below

commit 412d31dc7e3765055b58ad77446de2c0cb6e7f5b
Author: Mohammad Izzraff Janius 
<[email protected]>
AuthorDate: Mon May 11 23:15:44 2026 -0500

    test(ai-aliyun-content-moderation): remove unused mock LLM location (#13354)
---
 t/plugin/ai-aliyun-content-moderation.t | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/t/plugin/ai-aliyun-content-moderation.t 
b/t/plugin/ai-aliyun-content-moderation.t
index ceafff06d..a0777d605 100644
--- a/t/plugin/ai-aliyun-content-moderation.t
+++ b/t/plugin/ai-aliyun-content-moderation.t
@@ -40,20 +40,6 @@ add_block_preprocessor(sub {
 
             default_type 'application/json';
 
-            location /v1/chat/completions {
-                content_by_lua_block {
-                    local fixture_loader = require("lib.fixture_loader")
-                    local content, err = 
fixture_loader.load("aliyun/chat-with-harmful.json")
-                    if not content then
-                        ngx.status = 500
-                        ngx.say(err)
-                        return
-                    end
-                    ngx.status = 200
-                    ngx.print(content)
-                }
-            }
-
             location / {
                 content_by_lua_block {
                     local core = require("apisix.core")

Reply via email to