Baoyuantop opened a new pull request, #13107:
URL: https://github.com/apache/apisix/pull/13107

   ### Description
   
   Follow-up to #12926. That PR fixed priority comments for 3 AI plugins but 
left several other issues unresolved.
   
   This PR addresses the remaining problems:
   
   **Missing plugins in `conf/config.yaml.example`:**
   - `ai-request-rewrite` (priority: 1073) — missing entirely
   - `ai-aliyun-content-moderation` (priority: 1029) — missing entirely
   - `traffic-split` (priority: 966) in `stream_plugins` section — missing 
entirely
   
   **Incorrect plugin ordering:**
   - `ai-prompt-guard` (priority: 1072) was listed after `ai-prompt-decorator` 
(priority: 1070) — should be before it
   - `ai-request-rewrite` was placed at the end of the plugin list in 
`apisix/cli/config.lua` (after `ext-plugin-post-resp` with priority -4000) 
instead of in its correct position by priority
   
   **Changes:**
   - Added 3 missing plugins with correct priority comments
   - Reordered all AI plugins by descending priority in both 
`conf/config.yaml.example` and `apisix/cli/config.lua`
   
   ### Checklist
   
   - [x] I have explained the need for this PR and the problem it solves
   - [x] I have explained the changes or the new features added to this PR
   - [ ] I have added tests corresponding to this change
   - [ ] I have updated the documentation to reflect this change
   - [x] I have verified that this change is backward compatible (If not, 
please discuss on the [APISIX mailing 
list](https://github.com/apache/apisix/tree/master#community) first)


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