diff options
| author | Dax Raad <[email protected]> | 2025-08-10 20:30:25 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-08-10 20:30:37 -0400 |
| commit | 3ab4f42ebb2bee72f6111b5dc253545f75a9c466 (patch) | |
| tree | 75b2ee46410190029cc246eb27b806926e3187aa /packages/plugin | |
| parent | b8d2aebf09313d451cec873b3d0807b818015b32 (diff) | |
| download | opencode-3ab4f42ebb2bee72f6111b5dc253545f75a9c466.tar.gz opencode-3ab4f42ebb2bee72f6111b5dc253545f75a9c466.zip | |
support agent options
Diffstat (limited to 'packages/plugin')
| -rw-r--r-- | packages/plugin/src/index.ts | 2 |
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"?: ( |
