@Override
    public void handlerPlugin(final PluginData pluginData) {
        if (Objects.nonNull(pluginData) && pluginData.getEnabled()) {
            AiPromptConfig aiPromptConfig = GsonUtils.getInstance().fromJson(pluginData.getConfig(), AiPromptConfig.class);
            if (Objects.isNull(aiPromptConfig)) {
                return;
            }
            Singleton.INST.single(AiPromptConfig.class, aiPromptConfig);
        }
    }
The type ai prompt plugin data subscriber.
shenyu-plugin/shenyu-plugin-ai/shenyu-plugin-ai-prompt/src/main/java/org/apache/shenyu/plugin/ai/prompt/handler/AiPromptPluginDataHandler.java