Skip to content

Respect the OPENAI_BASE_URL environment variable #713

Description

@jimhester

Many OpenAI SDKs support a OPENAI_BASE_URL environment variable to set the base_url parameter. It would be great if ellmer could also support this environment variable. Then this could be for instance set on an internal Posit Connect server to point to a specific OpenAI endpoint.

I'd be happy to provide a PR to add this if interested.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions