Summary
Features were merged in PR #11857 and PR #11991 that add HTTP-Referer, X-OpenRouter-Title, and X-OpenRouter-Categories headers to OpenRouter API requests. These headers:
- Identify Continue in OpenRouter's activity dashboard and App Showcase
- User-configured headers in
requestOptions.headers take precedence over the defaults
Documentation Needed
The OpenRouter documentation at /customize/model-providers/top-level/openrouter.mdx should be updated to mention:
- That Continue automatically sends identification headers to OpenRouter
- What headers are sent (
HTTP-Referer, X-OpenRouter-Title, X-OpenRouter-Categories)
- That users can override these headers via
requestOptions.headers if needed
- Link to OpenRouter's docs about these headers: https://openrouter.ai/docs/api-reference/overview#headers
Related PRs
Generated with Continue
Co-authored-by: bekahhw rhawrot@gmail.com
Summary
Features were merged in PR #11857 and PR #11991 that add
HTTP-Referer,X-OpenRouter-Title, andX-OpenRouter-Categoriesheaders to OpenRouter API requests. These headers:requestOptions.headerstake precedence over the defaultsDocumentation Needed
The OpenRouter documentation at
/customize/model-providers/top-level/openrouter.mdxshould be updated to mention:HTTP-Referer,X-OpenRouter-Title,X-OpenRouter-Categories)requestOptions.headersif neededRelated PRs
Generated with Continue
Co-authored-by: bekahhw rhawrot@gmail.com