Skip to content

fix(agent): emit cumulative ReAct usage updates - #341

Open
alei-jia wants to merge 1 commit into
agentic-ai-java:mainfrom
alei-jia:codex/test-279-cumulative-usage
Open

alei-jia wants to merge 1 commit into
agentic-ai-java:mainfrom
alei-jia:codex/test-279-cumulative-usage

Conversation

@alei-jia

@alei-jia alei-jia commented Nov 1, 2026

Copy link
Copy Markdown

I acknowledge this contribution to ARGI; emit invocation-cumulative ReAct UsageUpdate snapshots for streaming and non-streaming model calls, project repeated current-turn snapshots without double counting, publish final response usage, and preserve unknown fields and invocation isolation; add 15 offline regression cases covering overwrite consumers, multiple turns, repeated and response-only stream usage, partial and unknown usage, overlapping runs, and failures; Agent Core: 142 tests passed, with upstream API and runtime-contract modules also passing; Fixes #279.

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.

[BUG][P2] 独立 ReAct 的 UsageUpdate 应发送调用级累计用量而非单轮用量

1 participant