pezzo icon indicating copy to clipboard operation
pezzo copied to clipboard

feat(proxy): enable pre configured openai base url

Open ranst91 opened this issue 6 months ago • 1 comments

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.

ranst91 avatar Aug 19 '24 08:08 ranst91