Files
letta-server/letta/plugins
Kian Jones ca6cfa5914 chore: migrate to ruff (#4305)
* base requirements

* autofix

* Configure ruff for Python linting and formatting

- Set up minimal ruff configuration with basic checks (E, W, F, I)
- Add temporary ignores for common issues during migration
- Configure pre-commit hooks to use ruff with pass_filenames
- This enables gradual migration from black to ruff

* Delete sdj

* autofixed only

* migrate lint action

* more autofixed

* more fixes

* change precommit

* try changing the hook

* try this stuff
2025-08-29 11:11:19 -07:00
..
2025-08-29 11:11:19 -07:00

Plugins

Plugins enable plug and play for various components.

Plugin configurations can be set in letta.settings.settings.

The plugins will take a delimited list of consisting of individual plugin configs:

<plugin_name>.<config_name>=<class_or_function>

joined by ;

In the default configuration, the top level keys have values plugin_name, the config_name is nested under and the class_or_function is defined after in format <module_path>:<name>.

DEFAULT_PLUGINS = {
    "experimental_check": {
        "default": "letta.plugins.defaults:is_experimental_enabled",
        ...