From c5ce8e305bfbe65be17b9ea864a7f88a38dcd53e Mon Sep 17 00:00:00 2001 From: Zishan Date: Thu, 20 Feb 2025 10:50:12 +0100 Subject: [PATCH] correct typo --- proxy/routes/open_ai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/routes/open_ai.py b/proxy/routes/open_ai.py index a18c084..52f1965 100644 --- a/proxy/routes/open_ai.py +++ b/proxy/routes/open_ai.py @@ -52,13 +52,13 @@ async def openai_proxy( # The invariant-authorization header contains the Invariant API Key # "invariant-authorization": "Bearer " # The authorization header contains the OpenAI API Key - # "authorization": "Bearer " + # "authorization": "" # # For some clients, it is not possible to pass a custom header # In such cases, the Invariant API Key is passed as part of the # authorization header with the OpenAI API key. # The header in that case becomes: - # "authorization": "Bearer |invariant-auth: " + # "authorization": "|invariant-auth: " if request.headers.get( "invariant-authorization" ) is None and "|invariant-auth:" not in request.headers.get("authorization"):