Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use OPENAI_API_URL from env to support custom OpenAI API endpoint #1522

Merged
merged 2 commits into from
Dec 28, 2024

Conversation

imtms
Copy link
Contributor

@imtms imtms commented Dec 28, 2024

Relates to:

Risks

Low

Background

There are some scenarios that require the use of the custom OpenAI API endpoint

What does this PR do?

Support custom OpenAI API endpoint URL using OPENAI_API_URL in env

What kind of change is this?

Documentation changes needed?

Added documentation for OPENAI_API_URL environment variable,

OPENAI_API_URL= # OpenAI API Endpoint (optional), Default: https://api.openai.com/v1

Testing

Where should a reviewer start?

Detailed testing steps

@shakkernerd shakkernerd merged commit f217112 into elizaOS:develop Dec 28, 2024
5 checks passed
@scottsams472
Copy link

Hello

1to3for5vi7ate9x pushed a commit to 1to3for5vi7ate9x/eliza that referenced this pull request Jan 26, 2025
feat: use OPENAI_API_URL from env to support custom OpenAI API endpoint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants