Skip to content

feat(docs): add AI Gateway app attribution headers#1305

Merged
shaper merged 1 commit into
mainfrom
add-ai-gateway-attribution-headers
Apr 29, 2026
Merged

feat(docs): add AI Gateway app attribution headers#1305
shaper merged 1 commit into
mainfrom
add-ai-gateway-attribution-headers

Conversation

@shaper

@shaper shaper commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds http-referer and x-title headers to the docs chat streamText call for AI Gateway app attribution
  • This is the only AI SDK inference call site in the codebase (evals use the Claude CLI subprocess, not the SDK)

Test plan

  • Verify docs chat still works end-to-end
  • Confirm headers appear in AI Gateway request logs

🤖 Generated with Claude Code

Pass http-referer and x-title headers to streamText so Vercel can
identify agent-browser on AI Gateway pages.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
agent-browser Ready Ready Preview, Comment Apr 29, 2026 6:54am
agent-browser-env-demo Ready Ready Preview, Comment Apr 29, 2026 6:54am

@shaper shaper merged commit 7ada338 into main Apr 29, 2026
13 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