From 96bdeb3c7b04e95ecabaa0253deddd2a22e14afe Mon Sep 17 00:00:00 2001 From: Dax Date: Fri, 31 Oct 2025 15:07:36 -0400 Subject: OpenTUI is here (#2685) --- packages/plugin/src/example.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'packages/plugin/src/example.ts') diff --git a/packages/plugin/src/example.ts b/packages/plugin/src/example.ts index 1e4557a68..94745a37b 100644 --- a/packages/plugin/src/example.ts +++ b/packages/plugin/src/example.ts @@ -3,10 +3,9 @@ import { tool } from "./tool" export const ExamplePlugin: Plugin = async (ctx) => { return { - permission: {}, tool: { mytool: tool({ - description: "This is a custom tool tool", + description: "This is a custom tool", args: { foo: tool.schema.string().describe("foo"), }, @@ -15,8 +14,5 @@ export const ExamplePlugin: Plugin = async (ctx) => { }, }), }, - async "chat.params"(_input, output) { - output.topP = 1 - }, } } -- cgit v1.2.3