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"):