mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-20 09:14:22 +01:00
11 lines
210 B
TypeScript
11 lines
210 B
TypeScript
import { Plugin } from "./index"
|
|
|
|
export const ExamplePlugin: Plugin = async ({ app, client, $ }) => {
|
|
return {
|
|
permission: {},
|
|
async "chat.params"(input, output) {
|
|
output.topP = 1
|
|
},
|
|
}
|
|
}
|