chore: update repository URLs after organization transfer (#5622)

This commit is contained in:
RaresKeY
2026-07-20 16:43:47 +02:00
committed by GitHub
parent 88e0ce3037
commit cc4c7f4263
14 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -295,7 +295,7 @@ def build_headers(api_key: Optional[str], base: str) -> Dict[str, str]:
if api_key:
headers["Authorization"] = f"Bearer {api_key}"
if provider == "openrouter":
headers.setdefault("HTTP-Referer", "https://github.com/pewdiepie-archdaemon/odysseus")
headers.setdefault("HTTP-Referer", "https://github.com/odysseus-dev/odysseus")
headers.setdefault("X-OpenRouter-Title", "Odysseus")
if _is_kimi_code_url(base):
headers.setdefault("User-Agent", KIMI_CODE_USER_AGENT)
+1 -1
View File
@@ -980,7 +980,7 @@ def _provider_headers(provider: str, headers: Optional[Dict] = None) -> Dict[str
if isinstance(headers, dict):
h.update(headers)
if provider == "openrouter":
h.setdefault("HTTP-Referer", "https://github.com/pewdiepie-archdaemon/odysseus")
h.setdefault("HTTP-Referer", "https://github.com/odysseus-dev/odysseus")
h.setdefault("X-OpenRouter-Title", "Odysseus")
if provider == "copilot":
# Ensure the Copilot-required headers are present even when the caller