mirror of
https://github.com/johndoe6345789/AutoMetabuilder.git
synced 2026-05-06 03:29:37 +00:00
4776082c34
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
11 lines
316 B
Python
11 lines
316 B
Python
"""Workflow plugin: load and register plugins."""
|
|
from ...plugin_loader import load_plugins
|
|
|
|
|
|
def run(runtime, _inputs):
|
|
"""Load and register plugins."""
|
|
tool_map = runtime.context.get("tool_map", {})
|
|
tools = runtime.context.get("tools", [])
|
|
load_plugins(tool_map, tools)
|
|
return {"result": True}
|