Engines and tools:
Engines are called by the Host
, and they are capable of reading tool-configs
and execute the defined plugins in it.
Overview
📄️ Tool config
A tool-config is a yaml file describing how a specific tool should look like and how it should behave.
📄️ Engine
In the framework-core library, an Engine is a vital component tasked with orchestrating the execution of plugins. It operates based on a tool-config, which outlines a specific sequence of plugins and groups for execution.
📄️ Plugin
The execution of a plugin involves a structured sequence:
📄️ Error handling
The plugin execution process is not immune to errors, leading to exceptions such as PluginExecutionError, PluginValidationError, and PluginUIHookExecutionError. The run_plugin method addresses these scenarios by: