Skip to content

docs: Document OpenRouter HTTP-Referer and X-Title headers #12215

Description

@continue

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

Metadata

Metadata

Assignees

Labels

area:docsRelates to documentationarea:integrationIntegrations (context providers, model providers, etc.)stale

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions