From 81134cf61ecc5d07c8261588f2813aa1745ebe0c Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Mon, 15 Dec 2025 14:32:48 -0600 Subject: add ability to set topK --- packages/plugin/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/plugin/src') diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts index 9dd4820b9..ef06a4d8b 100644 --- a/packages/plugin/src/index.ts +++ b/packages/plugin/src/index.ts @@ -161,7 +161,7 @@ export interface Hooks { */ "chat.params"?: ( input: { sessionID: string; agent: string; model: Model; provider: ProviderContext; message: UserMessage }, - output: { temperature: number; topP: number; options: Record }, + output: { temperature: number; topP: number; topK: number; options: Record }, ) => Promise "permission.ask"?: (input: Permission, output: { status: "ask" | "deny" | "allow" }) => Promise "tool.execute.before"?: ( -- cgit v1.2.3