docs: add OpenUI + Ollama local setup tutorial with troubleshooting(issue #1)#20
Open
shogun444 wants to merge 1 commit intothesysdev:mainfrom
Open
docs: add OpenUI + Ollama local setup tutorial with troubleshooting(issue #1)#20shogun444 wants to merge 1 commit intothesysdev:mainfrom
shogun444 wants to merge 1 commit intothesysdev:mainfrom
Conversation
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
This PR replaces the fixed model selection in route.ts with process.env.MODEL || 'gpt-5.4', allowing model overrides through environment configuration while keeping the existing default behavior intact.
Changes
route.tsto useprocess.env.MODELand removed hardcoded model dependencyhere's the command :
Why This Change
OpenUI depends heavily on structured, instruction-following outputs.
In practice:
Relying purely on local models is not practical without modifying OpenUI internals or the prompt.
This change allows developers to:
Usage
Run with Docker (set model via
MODEL):Or set the model manually:
Then run OpenUI as usual.
Testing
http://localhost:3000minimax-m2.7:cloud(recommended)Proof
UI breaking in small modelsResults After using the cloud models
Notes