feat(openrouter): send HTTP-Referer and X-Title headers to identify app
Merged
RO
7mo ago+12+12+01234567890123456789-0-0-0123456789
Summary
- Adds
HTTP-Referer: https://www.continue.dev/andX-Title: Continueheaders to all OpenRouter API requests, per the OpenRouter docs - This identifies Continue in OpenRouter's activity dashboard and App Showcase
- User-configured headers in
requestOptions.headerstake precedence over the defaults
Closes #4049
Test plan
- Verify OpenRouter requests include
HTTP-RefererandX-Titleheaders - Verify user-configured
requestOptions.headerscan still override these defaults - Confirm the OpenRouter activity dashboard shows "Continue" in the App column
Summary by cubic
Send HTTP-Referer: https://www.continue.dev/ and X-Title: Continue with all OpenRouter API requests to identify the app in OpenRouter’s dashboard and App Showcase. Headers are injected via requestOptions.headers so they apply to all requests; user-provided headers still override, and the redundant getHeaders() override was removed.