pezzo
pezzo copied to clipboard
feat(proxy): enable pre configured openai base url
Fixes 2nd point on https://github.com/pezzolabs/pezzo/issues/295. With a simple env var, you should now be able to configure the base URL of openai. If for some reason (as mentioned in the issue) you have your own "copy" of the API.
Please bear in mind that pezzo assumes an exact API structure other than the base URL.
So for an api.openai.com/some/url
, if you choose to replace base url, you should have /some/url
also in your "own implementation" of the API.