tryAGI/LangChain

Serve: Provide OpenAI SDK compatible API

HavenDV opened this issue · 5 comments

What would you like to be added:

Why is this needed:

Anything else we need to know?

Could you please add non-ssl url (for example, LM Studio's open ai using url for local server is http://localhost:1234 by default) supported in OpenAIProvider?

image.
image
you can use this constructor and https = false in OpenAIClientSettings to bypass it

I will soon change the OpenAI sdk (it will be completely generated from their official OpenAPI and will contain all the features at the time of their release) so there is no point in changing anything yet

Thank you so much. I'll try it soon.