Skip to content

openai.FineTuningJob.list_events doesn't support api_base #615

Closed
@00arthur00

Description

@00arthur00

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

  1. set up a nginx proxy for openai official api
  2. query fine tune job event with openai.FineTuningJob.list_events(id="ft-abc123", limit=10,api_key="xxxx",api_base="xxxx")
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions