Repository navigation
fix(models): keep local Ollama routes selectable - #135095
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
obviyus
marked this pull request as ready for review
September 1, 2026 10:11
Collaborator
Author
|
Land-ready at
|
Collaborator
Author
|
Thanks @BoatAngle! Proof: The committed Chromium harness confirmed that the corrected available row sends
|
steipete
added a commit
that referenced
this pull request
Sep 1, 2026
* fix: preserve native model picker selections and replies Carry the admitted catalog into native commands and reuse completed capability facts. Preserve post-hook channel suppression through settlement so picker acknowledgements are not replaced by generic recovery. Reported-by: @Call44 (#133550). Reverified the existing #134731 repair from #135095 with an isolated Control UI click and reload. * fix: satisfy model picker delivery lint guards Narrow observed final-delivery promises before aggregation and avoid a shadowed test catalog binding. Targeted lint and 278 reply regressions pass.
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Sep 2, 2026
Use prepared catalog route facts when the auth owner evaluates local no-auth providers. This keeps implicit and empty-config Ollama models selectable while remote and explicitly authenticated routes stay gated. Fixes openclaw#134731. Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Sep 2, 2026
…law#135382) * fix: preserve native model picker selections and replies Carry the admitted catalog into native commands and reuse completed capability facts. Preserve post-hook channel suppression through settlement so picker acknowledgements are not replaced by generic recovery. Reported-by: @Call44 (openclaw#133550). Reverified the existing openclaw#134731 repair from openclaw#135095 with an isolated Control UI click and reload. * fix: satisfy model picker delivery lint guards Narrow observed final-delivery promises before aggregation and avoid a shadowed test catalog binding. Targeted lint and 278 reply regressions pass.
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.
What Problem This Solves
The Control UI showed supported local Ollama models but disabled their rows. Selecting one sent no
sessions.patchrequest becausemodels.listpublished the model as unavailable.Closes #134731.
Reported by @BoatAngle.
Why This Change Was Made
The auth availability owner read only
models.providerssource config for non-OpenAI providers. It ignored the effectiveapiandbaseUrlalready carried by the prepared catalog row. An implicit or empty Ollama provider therefore becamemissing-autheven when the bundled plugin had verified and published a local route.This change passes the exact prepared route into auth evaluation. The evaluator now marks a declared synthetic-auth route available when the route is local and no explicit credential owner overrides it. The downstream Gateway fallback is removed, so one owner now decides availability.
Remote Ollama routes and routes with explicit token auth remain unavailable without credentials.
User Impact
Operators can select a supported local Ollama model in the Control UI. The selection now reaches
sessions.patch, updates the session model, and affects the next turn.Evidence
9e5be704596c5c4fd38c83253cdebef0498597fc: the new Gateway regression failed for both implicit and empty provider config. Each row wasavailable: falsewithmissing-auth.4aa5dfec99046bd66998a11ef2537def87f05a38: 85 focused owner and sibling tests passed.node scripts/run-vitest.mjs src/agents/model-auth-availability.test.ts src/gateway/server-methods/models-list-result.provider-outcomes.test.ts src/gateway/server-methods/models-list-result.openai-routes.test.ts --reporter=verboseavailable: falsedisabled the local Ollama row and sent zerosessions.patchrequests;available: truesentsessions.patchwith the selected Ollama model.git diff --checkpassed.pnpm test:changedwas stopped when it attempted the host-forbidden full TypeScript build. Pull request CI owns type and build validation.Test audit