https://github.com/sunny-335/plugin-comment-ai-autopilot/blob/b82fc724cd6ae65990532c36438a32b8dc06cecd/src/main/java/top/nxxy335/commentaiautopilot/service/AiFoundationClient.java#L120
这种方式并不推荐。
文档:https://github.com/halo-dev/plugin-ai-foundation/blob/main/dev/dev.md
除了获取 class 的问题,还需要在 plugin.yaml 中声明插件依赖:
spec: pluginDependencies: ai-foundation?: "*"
此外,为了让用户能够在应用市场安装之后推荐安装 AI Foundation 插件,还可以在 plugin.yaml 中声明:
metadata: annotations: # https://www.halo.run/store/apps/app-acslk9nu "store.halo.run/recommended-apps": '["app-acslk9nu"]'
感谢提议,该问题将于下个版本改进。
No dependencies set.
The note is not visible to the blocked user.
https://github.com/sunny-335/plugin-comment-ai-autopilot/blob/b82fc724cd6ae65990532c36438a32b8dc06cecd/src/main/java/top/nxxy335/commentaiautopilot/service/AiFoundationClient.java#L120
这种方式并不推荐。
文档:https://github.com/halo-dev/plugin-ai-foundation/blob/main/dev/dev.md
除了获取 class 的问题,还需要在 plugin.yaml 中声明插件依赖:
此外,为了让用户能够在应用市场安装之后推荐安装 AI Foundation 插件,还可以在 plugin.yaml 中声明:
感谢提议,该问题将于下个版本改进。