Skip to content

feat(api): usedLlm + formats in request metrics#2448

Merged
delong3 merged 1 commit intomainfrom
dl3/feat/request-metrics-extract
Nov 27, 2025
Merged

feat(api): usedLlm + formats in request metrics#2448
delong3 merged 1 commit intomainfrom
dl3/feat/request-metrics-extract

Conversation

@delong3
Copy link
Copy Markdown
Collaborator

@delong3 delong3 commented Nov 26, 2025

Summary by cubic

Added usedLlm and formats to scrape request metrics to track when LLM processing is used and which formats were requested.

  • New Features
    • usedLlm is true when formats include json, summary, branding (plus extract in v1), or changeTracking has json mode.
    • v1 logs formats directly from req.body.formats; v2 logs an array of format types derived from FormatObject.

Written for commit 1cc7b5b. Summary will update automatically on new commits.

@delong3 delong3 requested a review from mogery as a code owner November 26, 2025 23:26
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@delong3 delong3 merged commit 54ec364 into main Nov 27, 2025
6 of 8 checks passed
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.

2 participants