You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So in my company we use an api gateway (Gravitee) to provide a central point for all apis (internal and external).
I read in the docs that the base url can be changed, but it looked to me that this is only intended for OpenAI on Azure.
I also didn't find a way to easily override the headers of all requests. As we use our own api key internally and let the gateway transform the headers.
Question 1: How can we change the base url to our gateway?
Question 2: How can we use different headers for all requests?
I have not that much experience with python, so very likely that I overlooked something.
All help is greatly appreciated :)