Closed
Description
Describe the bug
when query new fine tune events with openai:
openai.FineTuningJob.list_events(id="ft-abc123", limit=10,api_key="xxxx",api_base="xxxx")
the http request doesn't go to api_base domain, instead go to the offical api site.
To Reproduce
- set up a nginx proxy for openai official api
- query fine tune job event with openai.FineTuningJob.list_events(id="ft-abc123", limit=10,api_key="xxxx",api_base="xxxx")
- http requests go to offical api site instead the nginx proxy.
Code snippets
openai.FineTuningJob.list_events(id="ft-abc123", limit=10,api_key="xxxx",api_base="xxxx")
OS
linux
Python version
python 3.10
Library version
openai-python v0.28.0