Skip to content

docs: align model catalog and provider login guides - #144591

Merged
obviyus merged 1 commit into
mainfrom
docs/models-login-overhaul
Sep 11, 2026
Merged

obviyus merged 1 commit into
mainfrom
docs/models-login-overhaul

Conversation

@obviyus

@obviyus obviyus commented Sep 11, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #136257.

What Problem This Solves

Setup and Models documentation described credential saving and API-key storage that no longer matched the product. Catalog guidance also mixed user tasks with internal loader details.

Why This Change Was Made

The guides now explain the shared catalog, explicit refresh, retained results, session model search, credential-only login, model-access consent, shared key management, and recovery of saved credentials. They preserve the documented first-picker discovery request and distinguish authentication refresh from model-list fallback.

User Impact

Users can distinguish connecting from activating a model and understand when credentials are saved but not yet applied. Plugin authors can describe supported login choices. Runtime behavior is unchanged.

Evidence

All eight pages were checked against source. Documentation and whitespace checks passed; optional anchor checking found the same 53 existing failures on both versions. Seventy-three focused tests passed without test changes. Live command-line checks covered model listing and refresh, provider filtering, key save/list/remove, and a disabled catalog result. Telegram checks covered login buttons, the model menu, and missing-secure-address recovery with zero model requests. Browser authorization was source-checked rather than executed.

@clawsweeper

clawsweeper Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Sep 11, 2026
@obviyus
obviyus merged commit a48c47a into main Sep 11, 2026
59 checks passed
@obviyus
obviyus deleted the docs/models-login-overhaul branch September 11, 2026 02:38
@obviyus

obviyus commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator Author

Thanks @obviyus!

Proof: Docs checks and exact-head CI passed; 73 focused tests passed. Live CLI checks covered catalog commands and API-key save/list/remove. Telegram Test Server captured /login provider buttons, /models, and OpenRouter's missing-secure-address recovery. Completed browser authorization was source-verified, not claimed as live proof.

  • Bug: Setup and key-storage guidance contradicted the landed behavior, while catalog instructions mixed user tasks with internal loader details.
  • Fix: The existing guides now explain shared catalog refresh, credential-only login, explicit model-access consent, and saved-credential activation and retry.
Before After
Credentials described as saved only after a successful test Saved credentials remain available after failed activation; replacements require activation
API keys described as inline provider config CLI and Models use the shared credential writer and profile references

The extra anchor audit found the same 53 pre-existing failures on the candidate and baseline 6e0043d3af82; no new anchor failure was introduced. Runtime proof retains that original build identity; the final rebase left all eight changed doc files identical.

Merged as a48c47a09c86d2cdfaf4d317f9c2f1d3be33215a. CI run.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 11, 2026
Related: openclaw#136257

## What Problem This Solves

The setup guide still says credentials are saved only after a successful live test, and the Models guide describes API keys as inline configuration. These statements conflict with the landed credential and activation flow. Catalog guidance also mixes user tasks with internal loader details.

## Why This Change Was Made

Document the current shared Gateway catalog, explicit refresh, compatible last-good results, session model search, credential-only login, model-access consent, shared API-key management, and saved-credential recovery. Preserve the Models page's first-picker discovery request and distinguish legacy auth refresh from model-list fallback.

## User Impact

Users can choose between connecting and activating a model, retry a saved sign-in after failed setup, and understand when credentials were saved but the Gateway has not applied them. Plugin authors can declare the login choices that these surfaces actually support. Runtime behavior is unchanged.

## Evidence

Current-main source audit covers all eight changed pages. `pnpm docs:list`, `pnpm check:docs`, and `git diff --check` pass. The optional anchor check reports the same 53 pre-existing failures on the candidate and the untouched baseline; no new anchor failure is introduced.

Focused source-mode validation: 73 tests pass across credential editing/removal, refresh and older-Gateway recovery, manifest login choices, setup activation/retry, and session-selection scope. No tests were added or changed.

Live CLI checks cover model listing/refresh, provider filtering, API-key save/list/remove, and the hosted catalog's disabled result. Telegram Test Server proof captures the provider buttons for `/login`, the `/models` menu, and OpenRouter's missing-secure-address recovery message. The chat run made zero model requests and cleaned up successfully. Completed browser authorization is source-verified, not claimed as live proof.

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant