You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having saved the JSON of plugins, I can re-install them, and it appears that everything is installed from the cache. Is this because llm install is using pip or something similar, and uv handles things differently?
The text was updated successfully, but these errors were encountered:
You are right, llm installs plugins with pip into the same environment it runs in. uv does not know about these dependencies and will remove them when upgrading the llm package.
A workaround is to install llm plugins as additional Python dependencies with uv tool install --extra <llm-plugin> llm, as documented here.
One caveat though, you cannot add additional dependencies this way. You always have to provide the full list of extra dependencies with multiple --extra options.
This may not be an
llm
issue, but could have to do with the interaction of the plugin mechanism with python packaging tooling.I have
llm
installed (on MacOS) viauv tool install llm
. When I update llm withuv tool upgrade llm
, it forgets about all of its installed plugins:Now I update:
Now, no more plugins
Having saved the JSON of plugins, I can re-install them, and it appears that everything is installed from the cache. Is this because
llm install
is usingpip
or something similar, anduv
handles things differently?The text was updated successfully, but these errors were encountered: