mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 22:21:27 -05:00
[PR #4149] [MERGED] chore: Add HTTP-Referer and X-Title headers for OpenRouter #8200
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/4149
Author: @arsaboo
Created: 7/27/2024
Status: ✅ Merged
Merged: 7/27/2024
Merged by: @tjbck
Base:
dev← Head:openrouter📝 Commits (1)
2871476Add HTTP-Referer and X-Title headers for OpenRouter📊 Changes
1 file changed (+3 additions, -0 deletions)
View changed files
📝
backend/apps/openai/main.py(+3 -0)📄 Description
Pull Request Checklist
devbranch.Description
The header information is not added to chat completion request currently. This results in
unknownfor the App in OpenRouter dashboard.Changelog Entry
Added
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.