fix(opencode): default to the compose llama-server port for the local route - #2980
Open
patil2001 wants to merge 1 commit into
Open
fix(opencode): default to the compose llama-server port for the local route#2980patil2001 wants to merge 1 commit into
patil2001 wants to merge 1 commit into
Conversation
… route The non-lemonade, non-switchboard branch of the OpenCode config writer defaulted the local llama-server URL to port 8080, but docker-compose.base.yml exposes llama-server on OLLAMA_PORT (default 11434). With OLLAMA_PORT unset in .env the generated opencode config pointed at a dead port. Align the fallback with the compose default of 11434.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
The macOS fresh-install env generator wrote
LLM_BACKEND=llama-servertwice into the generated.env. Today both copies agree, but duplicate-key consumers (the shipped validator flags duplicate assignment as an error) treat the file as invalid, and editing one copy while leaving the other invites reader-dependent drift. The stray second write is removed.AI Assistance
AI-assisted scan of the generator heredoc. The author reviewed the canonical-format contract and is responsible for the final diff.
Release Lane
release/2.6.xmainStable hotfix reason:
Changed Surface
Validation
bash -n ods/installers/macos/lib/env-generator.sh- passed.