Simon Willison
6c9a8efb50
register_template_loaders plugin hook, closes #809
...
* Moved templates CLI commands next to each other
* llm templates loaders command
* Template loader tests
* Documentation for template loaders
2025-03-21 16:46:44 -07:00
Simon Willison
ae87f978bd
Moved iter_prompt from Response to Model, moved a lot of other stuff
...
- Moved a whole bunch of things from llm/cli.py into llm/__init__.py
- Switched plugin listings to use importlib.metadata to avoid deprecation warning
- iter_prompt() is now a method on Model, not on Response
2023-07-10 07:45:11 -07:00
Simon Willison
4a9f7f4908
Lint using Ruff, refs #78
2023-07-02 12:41:40 -07:00
Simon Willison
14ce371007
Fix plugins tests to account for default plugins
2023-07-01 11:06:28 -07:00
Simon Willison
a396950f79
Initial plugin framework and register_commands(cli) hook, refs #49
2023-06-17 17:42:13 +01:00