MCPcopy Create free account
hub / github.com/llm-workflow-engine/llm-workflow-engine / setup

Method setup

lwe/plugins/echo.py:23–30  ·  view source on GitHub ↗

Setup the plugin. This is called by the plugin manager after the backend is initialized.

(self)

Source from the content-addressed store, hash-verified

21 }
22
23 def setup(self):
24 """
25 Setup the plugin. This is called by the plugin manager after the backend
26 is initialized.
27 """
28 self.log.info(f"This is the echo plugin, running with backend: {self.backend.name}")
29 # Accessing the final configuration of the plugin.
30 self.response_prefix = self.config.get("plugins.echo.response.prefix")
31
32 def get_shell_completions(self, _base_shell_completions):
33 """Example of provided shell completions."""

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected