refactor(ai): rebranded openrouter identifiers and user agent to omp

- Updated user agent and openrouter titles in packages/ai from Oh-My-Pi to omp.
- Integrated getOpenRouterHeaders into image generation tool requests in packages/coding-agent.
- Updated provider documentation and test assertions to reflect the rebrand.
This commit is contained in:
can1357
2026-08-11 15:28:28 +02:00
parent 47b282ff9b
commit 8fed93632a
5 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -417,7 +417,7 @@ export function makeOpenRouterRewriter(opts: OpenRouterOptions): RewriteChunk {
Authorization: `Bearer ${opts.apiKey}`,
"Content-Type": "application/json",
"HTTP-Referer": "https://omp.sh/",
"X-Title": "Oh-My-Pi",
"X-Title": "omp",
},
body,
});