2025-08-06 21:47:53 +08:00
|
|
|
import { Plugin } from "../../packages/plugin/src/index"
|
2025-08-04 09:42:45 +08:00
|
|
|
|
|
|
|
|
export const ExamplePlugin: Plugin = async ({ app, client, $ }) => {
|
|
|
|
|
return {
|
|
|
|
|
permission: {},
|
|
|
|
|
async "chat.params"(input, output) {
|
|
|
|
|
output.topP = 1
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|