@Override
    public void handlerPlugin(final PluginData pluginData) {
        if (Objects.nonNull(pluginData) && pluginData.getEnabled()) {
            AiCommonConfig aiCommonConfig = GsonUtils.getInstance().fromJson(pluginData.getConfig(), AiCommonConfig.class);
            if (Objects.isNull(aiCommonConfig)) {
                return;
            }
            Singleton.INST.single(AiCommonConfig.class, aiCommonConfig);
        }
    }
this is ai proxy plugin handler.
shenyu-plugin/shenyu-plugin-ai/shenyu-plugin-ai-proxy/src/main/java/org/apache/shenyu/plugin/ai/proxy/handler/AiProxyPluginHandler.java