forked from retoor/devplacepy
Send per-app provider attribution titles from one gateway app registry
Add openai_gateway/apps.py as the single list of internal gateway apps and send X-OpenRouter-Title (plus legacy X-Title and HTTP-Referer) per app to every upstream. Label the Devii agent, bots, modifier, quiz grading, SEO metadata, community and sync callers. Shorten two app references that exceeded the 30 character limit and were recorded as default. Also includes the pending Muse Code, route health and Responses work. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,7 @@ def test_generate_requests_the_preamble_bypass(local_db, monkeypatch):
|
||||
seen = {}
|
||||
|
||||
def fake_gateway_complete(
|
||||
api_key, system, text, timeout, model=None, bypass_preamble=False
|
||||
api_key, system, text, timeout, model=None, bypass_preamble=False, app_reference=None
|
||||
):
|
||||
seen["bypass_preamble"] = bypass_preamble
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user