Repository navigation
refactor(lmstudio): remove unreachable catalog merge - #130689
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 27, 2026 04:32
Contributor
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Aug 27, 2026
…-retirement-v13 * origin/main: (243 commits) fix: preserve Gateway error reasons in text logs (#130645) refactor(video): deduplicate generation contracts (#130635) fix(agents): preserve direct-message sender identity (#124548) fix(agents): preserve silent reply after settled tools (#130675) fix(talk): preserve replacement speech when an old utterance is canceled (#130687) fix(browser): preserve literal names and formatter-owned snapshot refs (#130599) fix(auth): reset only the profile replaced by a successful login (#124014) fix: bind session creation to admitted Gateway (#130686) refactor(qa-lab): reuse model reference splitter (#130317) docs(gateway): clarify independent HTTP endpoint switches (#130690) fix(ui): Control UI smooth scrolling ignores the reduced-motion preference (#130428) refactor(lmstudio): remove unreachable catalog merge (#130689) fix(crabbox): restore cloud machine CPU and RAM (#130684) fix(secrets): compare proxy bearer tokens directly (#127054) fix(matrix): show recovery key availability in text status (#128051) fix(ios): restore approval settings navigation and remove duplicate shell state (#130651) refactor(agents): use fixed tool-loop defaults directly (#130681) refactor(qa-lab): share process tree metric reader (#130419) refactor(models): simplify prepared owner access (#130683) fix(parallels): main install and update smoke cannot complete (#130658) ...
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 27, 2026
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.
Related: #130204
What Problem This Solves
LM Studio catalog discovery still carried a second model-selection path whose merge and deduplication branches could never run. This maintainer-requested cleanup removes misleading policy from a provider boundary that already selects either explicitly configured models or the discovered catalog.
Why This Change Was Made
Use the selected provider's model array directly and delete the private merge helper. Nonempty explicit models already bypass live discovery; otherwise the helper always returned the discovered array unchanged. The same explicit-model short circuit exists in stable
v2026.7.1, and #130204 preserved it while consolidating provider assembly.This is an AI-assisted, behavior-neutral change entirely inside the LM Studio plugin: production +1/-33, net -32; tests unchanged. It adds no abstraction and changes no public API, configuration, authentication policy, reasoning metadata, or storage behavior.
User Impact
No user-visible behavior changes. Explicit model order, duplicate rows, array identity, API selection, authentication/header precedence, empty-catalog handling, and live discovery remain unchanged.
Evidence
Validated source head:
45cd46f230afc0eb8ea7db4d44fcac4134ffb96b(baseline3255882803c78de5103d2d37f7698add84f34c5d). The LM Studio owner modules are unchanged on the newer inspectedorigin/mainat71d4a8c3e305c623aa3ffe92696eec18f116cfc6.node scripts/run-vitest.mjs extensions/lmstudio/src/setup.test.ts extensions/lmstudio/index.test.ts extensions/lmstudio/src/models.test.ts, with one worker and distinct test caches.discoverLmstudioProviderentry point against LM Studio 0.4.21+2. Before and after returned identical full provider JSON for 13 LLMs. Each run made one model-list GET; explicit configuration retained the original array, including duplicate rows and its Responses API selection, without another network request. LM Studio and Ollama both remained at zero loaded models. No inference, model load, service restart, or user configuration write occurred.--type-aware --type-check, one thread, and the extensions tsconfig passed with zero diagnostics. The documented artifact-preparation skip avoided only unrelated global SDK preparation; type-aware checking remained enabled. Changed-lane dry run selected extension production and test checks; no full local changed-gate or whole-program typecheck result is claimed.