mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:41:37 +00:00
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:
@@ -450,6 +450,7 @@ export async function runReplyAgent(params: {
|
||||
promptTokens,
|
||||
total: totalTokens,
|
||||
},
|
||||
lastCallUsage: runResult.meta.agentMeta?.lastCallUsage,
|
||||
context: {
|
||||
limit: contextTokensUsed,
|
||||
used: totalTokens,
|
||||
|
||||
Reference in New Issue
Block a user