test(ai-aliyun-content-moderation): remove unused mock LLM location#13354
Merged
shreemaan-abhishek merged 1 commit intoMay 12, 2026
Merged
Conversation
shreemaan-abhishek
approved these changes
May 12, 2026
membphis
approved these changes
May 12, 2026
nic-6443
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
location /v1/chat/completionsblock on the mock server at port 6724 int/plugin/ai-aliyun-content-moderation.tis never reached by any of the 44 test blocks (130 subtests) in the file.Every test that needs an upstream LLM points
ai-proxy's override endpoint to either:127.0.0.1:1980(the sharedX-AI-Fixturetest fixture mock), orlocalhost:7737(thesse_server_exampleGo process started byci/common.sh)No test points an upstream endpoint at port 6724. Port 6724 is only used as the Aliyun content moderation API mock, which is served by
location /. The/v1/chat/completionsblock is dead code left over from an earlier shape of the test.Removing it keeps the mock focused on the Aliyun moderation API and reduces noise for future readers.
Verification
Ran the full test file locally before and after the change with
sse_server_examplelistening on port 7737:No behavior change; pure cleanup.
Which issue(s) this PR fixes:
Fixes #
Checklist