llm
llm copied to clipboard
Dataclasses missing from the advanced model plugins page in live
https://llm.datasette.io/en/stable/plugins/advanced-model-plugins.html#supporting-tools
In my local dev environment it looks like this:
Relevant code:
https://github.com/simonw/llm/blob/2fd6c09db1d09a28fb93a35526cb37cdf7430143/docs/plugins/advanced-model-plugins.md#L141-L149
Added in this commit: https://github.com/simonw/llm/commit/218bd10d6d469b8c8a0305c5e2f048cab218d74b
I think this is the problem: https://github.com/simonw/llm/blob/218bd10d6d469b8c8a0305c5e2f048cab218d74b/docs/conf.py#L37
But that should be installed already? I don't think it needs to be added to requirements.
Oh maybe it's the path that Python is running on when it runs the Sphinx commands? In RTD it may not have my llm stuff installed and available.
That fixed it on /en/latest/: https://llm.datasette.io/en/latest/plugins/advanced-model-plugins.html#supporting-tools
I'm going to !stable-docs to deploy it to live.
Ugh that didn't fix it on the stable branch at all, because I didn't cause the .readthedocs.yml to update in that branch... and I accidentally deployed this section there too which isn't in a release yet: https://llm.datasette.io/en/latest/plugins/advanced-model-plugins.html#tracking-resolved-model-names
I think I can fix that by editing the stable branch directly.
Fixed: