Skip to content

docs: clarify model listing API key requirements - #1540

Open
lntutor wants to merge 1 commit into
simonw:mainfrom
lntutor:docs/models-list-key-help-1175
Open

docs: clarify model listing API key requirements#1540
lntutor wants to merge 1 commit into
simonw:mainfrom
lntutor:docs/models-list-key-help-1175

Conversation

@lntutor

@lntutor lntutor commented Jul 19, 2026

Copy link
Copy Markdown

Summary

Clarifies the llm models list --help output so users know that some plugins only register models after an API key is configured. The help text points users to llm keys set, and a regression test covers both messages.

Fixes #1175.

Testing

  • uv run pytest tests/test_llm.py -k "models_help_mentions_api_keys or llm_models_options" (2 passed)
  • uv run ruff check llm/cli.py tests/test_llm.py
  • uv run black --check llm/cli.py tests/test_llm.py
  • git diff --check

The full suite reached 701 passing tests but has existing embedding migration failures with sqlite-utils 4.1.1 (sqlite3.OperationalError: cannot commit - no transaction is active), consistent with the open compatibility report in #1523. The changed model-list tests pass independently.

@lntutor
lntutor force-pushed the docs/models-list-key-help-1175 branch from 2a4ed7a to 843bfd7 Compare July 27, 2026 15:06
@lntutor

lntutor commented Aug 1, 2026

Copy link
Copy Markdown
Author

Current head 843bfd70d4b3849daf4a98c929eef160cb9838f5 is mergeable, the Read the Docs preview is green, and there are no unresolved review threads on the current PR state. This looks ready for maintainer review when convenient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance help tooltip for listing models

1 participant