You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Baoyuantop (via GitHub)" <gi...@apache.org> on 2026/03/19 09:32:06 UTC

[I] config.yaml.example is missing some AI plugins and has incorrect ordering [apisix]

Baoyuantop opened a new issue, #13108:
URL: https://github.com/apache/apisix/issues/13108

   ### Description
   
   Follow-up from #12926. While that PR fixed incorrect priority comments for `ai-proxy`, `ai-proxy-multi`, and `ai-aws-content-moderation`, there are still remaining issues in `conf/config.yaml.example`:
   
   #### 1. Missing AI plugins
   
   The following plugins are registered in `apisix/cli/config.lua` but are **not listed** in `config.yaml.example`:
   
   | Plugin | Priority | Source |
   |---|---|---|
   | `ai-request-rewrite` | 1073 | `apisix/plugins/ai-request-rewrite.lua` |
   | `ai-aliyun-content-moderation` | 1029 | `apisix/plugins/ai-aliyun-content-moderation.lua` |
   
   #### 2. AI plugins not fully sorted by descending priority
   
   The current AI plugin section in `config.yaml.example`:
   
   ```yaml
     - ai-prompt-template             # priority: 1071
     - ai-prompt-decorator            # priority: 1070
     - ai-prompt-guard                # priority: 1072
     - ai-rag                         # priority: 1060
     - ai-aws-content-moderation      # priority: 1050
     - ai-proxy-multi                 # priority: 1041
     - ai-proxy                       # priority: 1040
     - ai-rate-limiting               # priority: 1030
   ```
   
   `ai-prompt-guard` (priority 1072) should be listed before `ai-prompt-template` (priority 1071) to maintain descending priority order.
   
   #### Expected result
   
   After adding the missing plugins and fixing the order, the AI plugins section should look like:
   
   ```yaml
     - ai-request-rewrite             # priority: 1073
     - ai-prompt-guard                # priority: 1072
     - ai-prompt-template             # priority: 1071
     - ai-prompt-decorator            # priority: 1070
     - ai-rag                         # priority: 1060
     - ai-aws-content-moderation      # priority: 1050
     - ai-proxy-multi                 # priority: 1041
     - ai-proxy                       # priority: 1040
     - ai-rate-limiting               # priority: 1030
     - ai-aliyun-content-moderation   # priority: 1029
   ```


-- 
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-unsubscribe@apisix.apache.org.apache.org

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


Re: [I] config.yaml.example is missing some AI plugins and has incorrect ordering [apisix]

Posted by "prasunsrivastav123-lang (via GitHub)" <gi...@apache.org>.
prasunsrivastav123-lang commented on issue #13108:
URL: https://github.com/apache/apisix/issues/13108#issuecomment-4290706993

   @Baoyuantop can i also work on this?
   


-- 
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-unsubscribe@apisix.apache.org

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


Re: [I] config.yaml.example is missing some AI plugins and has incorrect ordering [apisix]

Posted by "prasunsrivastav123-lang (via GitHub)" <gi...@apache.org>.
prasunsrivastav123-lang commented on issue #13108:
URL: https://github.com/apache/apisix/issues/13108#issuecomment-4299418657

   @Baoyuantop Hey, just a quick heads up I have my end-term exams going on, so there might be some delay in my responses/work. I’ll get back as soon as I can.
   


-- 
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-unsubscribe@apisix.apache.org

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


Re: [I] config.yaml.example is missing some AI plugins and has incorrect ordering [apisix]

Posted by "saudademjj (via GitHub)" <gi...@apache.org>.
saudademjj commented on issue #13108:
URL: https://github.com/apache/apisix/issues/13108#issuecomment-4089186640

   I am working on this now and will open a PR shortly. I will update `conf/config.yaml.example` so the AI plugins list matches the registered plugins and descending priority order.


-- 
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-unsubscribe@apisix.apache.org

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


Re: [I] config.yaml.example is missing some AI plugins and has incorrect ordering [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #13108:
URL: https://github.com/apache/apisix/issues/13108#issuecomment-4293730502

   @prasunsrivastav123-lang  Of course, it has already been assigned to you.


-- 
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-unsubscribe@apisix.apache.org

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


Re: [I] config.yaml.example is missing some AI plugins and has incorrect ordering [apisix]

Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 closed issue #13108: config.yaml.example is missing some AI plugins and has incorrect ordering
URL: https://github.com/apache/apisix/issues/13108


-- 
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-unsubscribe@apisix.apache.org

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