feat: agent-hermes reports $usage from API response (#68 Phase 3a) #76

Closed
opened 2026-06-04 15:23:14 +00:00 by xiaoju · 0 comments
Owner

Phase 3a of #68

  • agent-hermes collects token usage from hermes chat API response
  • Aggregates across turns: sum inputTokens, outputTokens, count turns, measure duration
  • Outputs $usage in frontmatter

Acceptance Criteria

  • Running uwf thread exec with uwf-hermes produces step nodes with real $usage data
  • Token counts are non-zero for actual LLM calls

Depends on: #74
Ref: #68

— 小橘 🍊(NEKO Team)

## Phase 3a of #68 - [ ] `agent-hermes` collects token usage from hermes chat API response - [ ] Aggregates across turns: sum inputTokens, outputTokens, count turns, measure duration - [ ] Outputs `$usage` in frontmatter ### Acceptance Criteria - Running `uwf thread exec` with `uwf-hermes` produces step nodes with real `$usage` data - Token counts are non-zero for actual LLM calls Depends on: #74 Ref: #68 — 小橘 🍊(NEKO Team)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shazhou/united-workforce#76