This is an automated email from the ASF dual-hosted git repository.
liuhongyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git
The following commit(s) were added to refs/heads/master by this push:
new f69767e4d7 [fix] ai request transformer plugin (#6047)
f69767e4d7 is described below
commit f69767e4d71a828357991d3235f47f1c9cc210f4
Author: Yu Siheng <[email protected]>
AuthorDate: Sat Jul 5 15:00:22 2025 +0800
[fix] ai request transformer plugin (#6047)
* [fix] ai request transformer plugin
* [fix] ai request transformer plugin
---
.../transformer/request/AiRequestTransformerPluginConfiguration.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/shenyu-spring-boot-starter/shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-ai-request-transformer/src/main/java/org/apache/shenyu/springboot/starter/plugin/ai/transformer/request/AiRequestTransformerPluginConfiguration.java
b/shenyu-spring-boot-starter/shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-ai-request-transformer/src/main/java/org/apache/shenyu/springboot/starter/plugin/ai/transformer/request/AiRequestTransformerPluginConfigura
[...]
index 9f1e73746e..0622da079c 100644
---
a/shenyu-spring-boot-starter/shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-ai-request-transformer/src/main/java/org/apache/shenyu/springboot/starter/plugin/ai/transformer/request/AiRequestTransformerPluginConfiguration.java
+++
b/shenyu-spring-boot-starter/shenyu-spring-boot-starter-plugin/shenyu-spring-boot-starter-plugin-ai-request-transformer/src/main/java/org/apache/shenyu/springboot/starter/plugin/ai/transformer/request/AiRequestTransformerPluginConfiguration.java
@@ -47,7 +47,7 @@ public class AiRequestTransformerPluginConfiguration {
* @return the shenyu plugin
*/
@Bean
- public ShenyuPlugin aiProxyPlugin(final ServerCodecConfigurer configurer,
final List<AiModelFactory> aiModelFactoryList) {
+ public ShenyuPlugin aiRequestTransformerPlugin(final ServerCodecConfigurer
configurer, final List<AiModelFactory> aiModelFactoryList) {
return new AiRequestTransformerPlugin(configurer.getReaders(),
aiModelFactoryRegistry(aiModelFactoryList));
}
@@ -58,7 +58,7 @@ public class AiRequestTransformerPluginConfiguration {
* @return the shenyu plugin handler
*/
@Bean
- public AiRequestTransformerPluginHandler aiProxyPluginHandler(final
List<AiModelFactory> aiModelFactoryList) {
+ public AiRequestTransformerPluginHandler
aiRequestTransformerPluginHandler(final List<AiModelFactory>
aiModelFactoryList) {
return new
AiRequestTransformerPluginHandler(aiModelFactoryRegistry(aiModelFactoryList));
}