diff --git a/src/agents/provider-attribution.test.ts b/src/agents/provider-attribution.test.ts index 04c7d040b17..aaf4247df12 100644 --- a/src/agents/provider-attribution.test.ts +++ b/src/agents/provider-attribution.test.ts @@ -34,8 +34,7 @@ describe("provider attribution", () => { version: "2026.3.14", headers: { "HTTP-Referer": "https://openclaw.ai", - "X-OpenRouter-Title": "OpenClaw", - "X-OpenRouter-Categories": "cli-agent", + "X-Title": "OpenClaw", }, }); }); @@ -47,8 +46,7 @@ describe("provider attribution", () => { }), ).toEqual({ "HTTP-Referer": "https://openclaw.ai", - "X-OpenRouter-Title": "OpenClaw", - "X-OpenRouter-Categories": "cli-agent", + "X-Title": "OpenClaw", }); }); diff --git a/src/agents/provider-attribution.ts b/src/agents/provider-attribution.ts index f1111a8e5bd..a26f985bcc6 100644 --- a/src/agents/provider-attribution.ts +++ b/src/agents/provider-attribution.ts @@ -54,8 +54,7 @@ function buildOpenRouterAttributionPolicy( ...identity, headers: { "HTTP-Referer": "https://openclaw.ai", - "X-OpenRouter-Title": identity.product, - "X-OpenRouter-Categories": "cli-agent", + "X-Title": identity.product, }, }; }