Repository navigation
docs: align model catalog and provider login guides - #144591
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
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
The extra anchor audit found the same 53 pre-existing failures on the candidate and baseline Merged as |
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]>
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.