wip: plugins

This commit is contained in:
Dax Raad
2025-08-03 21:42:45 -04:00
parent 1bac46612c
commit f85d30c484
7 changed files with 67 additions and 316 deletions

View File

@@ -3,12 +3,8 @@ import { Plugin } from "./index"
export const ExamplePlugin: Plugin = async ({ app, client, $ }) => {
return {
permission: {},
tool: {
execute: {
async before(input, output) {
console.log("before", input, output)
},
},
async "chat.params"(input, output) {
output.topP = 1
},
}
}