Skip to content

feat: add SDK caller plugin audit view#66

Open
LIlGG wants to merge 1 commit into
mainfrom
feat/sdk-call-audit
Open

feat: add SDK caller plugin audit view#66
LIlGG wants to merge 1 commit into
mainfrom
feat/sdk-call-audit

Conversation

@LIlGG

@LIlGG LIlGG commented Jun 12, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:

为 SDK 调用方增加插件识别与后台展示能力,用于查看有哪些 Halo 插件正在调用 AI Foundation SDK。

本次实现包括:

  • 在模型解析与模型执行入口记录调用方插件信息,当前先保存在内存中。
  • 通过 StackWalker 和插件 ClassLoader 自动识别调用方插件,避免调用方手动传入插件信息。
  • 新增控制台接口和后台“调用插件”页面展示已观察到的调用方插件。
  • 为后续按次审计调用时间、模型、token 用量等信息预留模型调用代理结构。

Which issue(s) this PR fixes:

Fixes #18

Does this PR introduce a user-facing change?

新增 AI Foundation SDK 调用插件查看页面,可在后台查看哪些插件正在调用 SDK。

@LIlGG LIlGG marked this pull request as ready for review June 12, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

增加 AI Foundation 消费者可见性与服务概览

1 participant