This repository was archived by the owner on May 21, 2026. It is now read-only.
feat: make AI provider base URL configurable via env var#18
Closed
miguelmanlyx wants to merge 1 commit into
Closed
feat: make AI provider base URL configurable via env var#18miguelmanlyx wants to merge 1 commit into
miguelmanlyx wants to merge 1 commit into
Conversation
Owner
|
Thanks for the PR. However, I'm actually going to archive this repo, given that Codex/Claude/pick your flavour of LLM do this quite seamlessly now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Makes the AI provider base URL configurable via an environment variable
(
OPENAI_BASE_URL) so the project can switch endpoints without code changes.Why
Hard-coding a provider URL makes it harder to test against staging endpoints,
run local models, or route to an alternative provider during an outage.
Reading the URL from an env var is a zero-risk, backward-compatible change —
the default remains your current provider.
How
No existing behaviour changes when
OPENAI_BASE_URLis not set.