feat(plugins): expose llm input/output hook payloads (openclaw#16724) thanks @SecondThread

Verified:
- pnpm build
- pnpm check
- pnpm test:macmini

Co-authored-by: SecondThread <18317476+SecondThread@users.noreply.github.com>
Co-authored-by: Tak Hoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
David Harmeyer
2026-02-15 14:01:00 -08:00
committed by GitHub
parent 3c6cff5758
commit 7c822d039b
8 changed files with 222 additions and 3 deletions

View File

@@ -450,6 +450,7 @@ export async function runReplyAgent(params: {
promptTokens,
total: totalTokens,
},
lastCallUsage: runResult.meta.agentMeta?.lastCallUsage,
context: {
limit: contextTokensUsed,
used: totalTokens,