summaryrefslogtreecommitdiffhomepage
path: root/packages/plugin/src
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-08-10 20:30:25 -0400
committerDax Raad <[email protected]>2025-08-10 20:30:37 -0400
commit3ab4f42ebb2bee72f6111b5dc253545f75a9c466 (patch)
tree75b2ee46410190029cc246eb27b806926e3187aa /packages/plugin/src
parentb8d2aebf09313d451cec873b3d0807b818015b32 (diff)
downloadopencode-3ab4f42ebb2bee72f6111b5dc253545f75a9c466.tar.gz
opencode-3ab4f42ebb2bee72f6111b5dc253545f75a9c466.zip
support agent options
Diffstat (limited to 'packages/plugin/src')
-rw-r--r--packages/plugin/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/plugin/src/index.ts b/packages/plugin/src/index.ts
index d0d484a00..7ea82d2aa 100644
--- a/packages/plugin/src/index.ts
+++ b/packages/plugin/src/index.ts
@@ -19,7 +19,7 @@ export interface Hooks {
*/
"chat.params"?: (
input: { model: Model; provider: Provider; message: UserMessage },
- output: { temperature: number; topP: number },
+ output: { temperature: number; topP: number; options: Record<string, any> },
) => Promise<void>
"permission.ask"?: (input: Permission, output: { status: "ask" | "deny" | "allow" }) => Promise<void>
"tool.execute.before"?: (