mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 18:27:22 +00:00
This commit is contained in:
parent
b8d2aebf09
commit
3ab4f42ebb
4 changed files with 25 additions and 13 deletions
|
@ -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"?: (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue