Skip to content

feat(serve): add source field to query log - #127

Merged
yichuan-w merged 1 commit into
mainfrom
feat/query-source-header
Jul 27, 2026
Merged

feat(serve): add source field to query log#127
yichuan-w merged 1 commit into
mainfrom
feat/query-source-header

Conversation

@yichuan-w

Copy link
Copy Markdown
Contributor

Summary

  • Frontend search sends X-Source: search, chat/agent sends X-Source: chat
  • Backend reads the header and writes "source" field in queries.jsonl
  • API requests without the header log source: null

Test plan

  • Deploy and verify source field appears in log entries

@yichuan-w
yichuan-w merged commit 7a3c304 into main Jul 27, 2026
1 of 2 checks passed
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web Building Building Preview, Comment Jul 27, 2026 10:54pm

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