Skip to content

Request - support local/arbitrary inference endpoints by adding base_url parameter #2

Description

@platform-kit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions