continue-custom/packages
Dallin Romney 7968dd1069
feat(openrouter): send HTTP-Referer and X-Title headers to identify app (#11857)
* feat(openrouter): send HTTP-Referer and X-Title headers to identify app

Adds `HTTP-Referer: https://www.continue.dev/` and `X-Title: Continue`
headers to all OpenRouter API requests, as recommended by the OpenRouter
docs. This lets OpenRouter attribute requests to Continue in their
dashboard and App Showcase.

Headers are injected via both `requestOptions.headers` (for SDK-based
requests) and `getHeaders()` (for direct fetch calls). User-configured
headers take precedence.

Closes #4049

* refactor: remove redundant getHeaders() override

The OPENROUTER_HEADERS are already injected via requestOptions.headers
in the constructor. Since fetchwithRequestOptions merges
requestOptions.headers into all requests (including direct fetch calls
like fimStream and rerank), the getHeaders() override was redundant.
2026-03-25 16:57:33 -07:00
..
config-types feat: add MiniMax as a new LLM provider with M2.7 default (#11367) 2026-03-24 13:06:19 -07:00
config-yaml fix: allow multiple context providers of the same type in config.yaml (#11853) 2026-03-25 16:47:08 -07:00
continue-sdk chore(deps): bump yaml from 2.8.1 to 2.8.3 in /packages/continue-sdk (#11859) 2026-03-25 16:52:20 -07:00
fetch chore(deps-dev): bump picomatch from 2.3.1 to 2.3.2 in /packages/fetch (#11846) 2026-03-25 16:35:42 -07:00
hub chore(deps-dev): bump picomatch from 2.3.1 to 2.3.2 in /packages/hub (#11840) 2026-03-25 15:45:59 -07:00
llm-info fix(gemini): update model catalog for retired/new Gemini models (#11793) 2026-03-24 20:22:47 -07:00
openai-adapters feat(openrouter): send HTTP-Referer and X-Title headers to identify app (#11857) 2026-03-25 16:57:33 -07:00
terminal-security chore(deps-dev): bump picomatch from 4.0.3 to 4.0.4 in /packages/terminal-security (#11850) 2026-03-25 16:23:11 -07:00
shared-release.config.js fix prettier 2025-07-18 19:20:13 +02:00