Skip to content

fix: handle empty string in OPENAI_BASE_URL env var#1

Open
Jah-yee wants to merge 1 commit intomainfrom
fix/empty-base-url-env
Open

fix: handle empty string in OPENAI_BASE_URL env var#1
Jah-yee wants to merge 1 commit intomainfrom
fix/empty-base-url-env

Conversation

@Jah-yee
Copy link
Owner

@Jah-yee Jah-yee commented Mar 11, 2026

When OPENAI_BASE_URL is set to an empty string, the SDK should fall back to the default API endpoint instead of using the empty string as the base URL.

Fixes issue openai#2927 in the upstream repository.

When OPENAI_BASE_URL is set to an empty string, the SDK should
fall back to the default API endpoint instead of using the empty
string as the base URL.

Fixes issue openai#2927
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.

1 participant