Skip to content

feat: expose deep analysis llm metrics#5

Draft
okJiang wants to merge 1 commit into
mainfrom
feat/deep-analysis-llm-metrics
Draft

feat: expose deep analysis llm metrics#5
okJiang wants to merge 1 commit into
mainfrom
feat/deep-analysis-llm-metrics

Conversation

@okJiang

@okJiang okJiang commented Apr 17, 2026

Copy link
Copy Markdown

Summary

  • add worker-side deep analysis token/request counters for chunk_analysis and global_synthesis
  • expose the counters on the worker health server at /metrics
  • record metrics directly from Qwen deep analysis results without changing report behavior

Validation

  • corepack pnpm -r --workspace-concurrency=1 typecheck
  • corepack pnpm test -- --runInBand apps/worker/src/qwen-deep-analysis.service.spec.ts
  • corepack pnpm test -- --runInBand apps/worker/src/deep-analysis-report-processor.service.spec.ts

Notes

  • this PR covers the mem9-node half of the first benchmark accounting loop

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant