diff options
| author | t <t@tjp.lol> | 2026-06-09 00:00:56 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-06-09 08:52:47 -0600 |
| commit | 97b10466d83d488ad2cb9e084159a445af74c845 (patch) | |
| tree | 6bea7c23d00ff1178a43e631fc700f210cb7d85b /examples/extensions/echo.lua | |
| parent | 104001d25c9c8cb5ec45ced1678f7c7b70888808 (diff) | |
event lifecycle
Diffstat (limited to 'examples/extensions/echo.lua')
| -rw-r--r-- | examples/extensions/echo.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/extensions/echo.lua b/examples/extensions/echo.lua index 53b1a3a..d384e5b 100644 --- a/examples/extensions/echo.lua +++ b/examples/extensions/echo.lua @@ -1,7 +1,7 @@ -- A trivial Lua tool that echoes back whatever the LLM asks it to. -- Useful for exercising the panto CLI's Lua extension path end-to-end. -panto.register_tool { +panto.ext.register_tool { name = "echo", description = "Echo back the given message. Useful for testing whether tools work.", schema = { |
