OpenAI provider in from_provider ignores base_url kwarg (can’t point client to custom endpoint)
Is your feature request related to a problem? Please describe.
When using instructor.from_provider("openai/
Describe the solution you'd like Update the OpenAI branch of from_provider to forward base_url (and, ideally, other client kwargs for parity) into openai.OpenAI(...) / openai.AsyncOpenAI(...).
Describe alternatives you've considered Manually constructing an openai.OpenAI(base_url=..., api_key=...) client and calling instructor.from_openai(client, ...)—functional but bypasses the nice ergonomics of from_provider.
Additional context Several other provider branches already accept and pass base_url (e.g., databricks, perplexity, deepseek, openrouter), so this change brings openai to feature parity.