Excellent work! This is something I've been hoping to see for some time.
Please consider decoupling from OpenAI. It should be trivial to add support for other models since the OpenAI API spec has been implemented almost universally across various inference providers, local tools (like Ollama), etc.
The minimum change would be to allow the user to specify a base_url variable, instead of or in addition to the API key, then pass that to any instances where the OpenAI SDK is used to call the inference endpoint.
Excellent work! This is something I've been hoping to see for some time.
Please consider decoupling from OpenAI. It should be trivial to add support for other models since the OpenAI API spec has been implemented almost universally across various inference providers, local tools (like Ollama), etc.
The minimum change would be to allow the user to specify a
base_urlvariable, instead of or in addition to the API key, then pass that to any instances where the OpenAI SDK is used to call the inference endpoint.