Skip to content

Fix supports_schema attribute name in advanced model plugins docs - #1686

Merged
simonw merged 1 commit into
simonw:mainfrom
ethanstoner:docs-supports-schema-typo
Sep 19, 2026
Merged

simonw merged 1 commit into
simonw:mainfrom
ethanstoner:docs-supports-schema-typo

Conversation

@ethanstoner

Copy link
Copy Markdown
Contributor

Closes #814

The schema example in docs/plugins/advanced-model-plugins.md sets support_schema = True, but the attribute llm checks (supports_schema in llm/models.py, and the sentence just above the example) has an s. A plugin author copying the snippet would silently get no schema support.

AI disclosure: this change was made with Claude Code; I checked the attribute name against llm/models.py.

The example set support_schema = True, but the attribute llm reads (and the prose above the example) is supports_schema.

Closes simonw#814
@simonw simonw added the documentation Improvements or additions to documentation label Sep 19, 2026
@simonw

simonw commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Thanks!

@simonw
simonw merged commit 88398bf into simonw:main Sep 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Small syntax error in the schema docs

3 participants