feat: complete the Homarr provider endpoint

This commit is contained in:
ajnart committed 2026-08-12 13:27:04 +02:00
1 parent 019bd11017
commit 83968be07e
10 files changed
+457 -18

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ const getProviderHeaders = (configuration: AssistantConfiguration) => {
}
if (configuration.provider === "openrouter") {
headers["HTTP-Referer"] ??= "https://homarr.dev";
headers["X-Title"] ??= "Homarr Assistant";
headers["X-OpenRouter-Title"] ??= "Homarr AI Assistant";
}
return { ...headers, ...decryptCustomHeaders(configuration.encryptedHeaders) };
};