feat: restore experimental.chat.messages.transform and add experimental.chat.system.transform hooks (#5542)
This commit is contained in:
parent
c985ef172d
commit
b98bd90d50
3 changed files with 19 additions and 3 deletions
|
|
@ -185,6 +185,12 @@ export interface Hooks {
|
|||
}[]
|
||||
},
|
||||
) => Promise<void>
|
||||
"experimental.chat.system.transform"?: (
|
||||
input: {},
|
||||
output: {
|
||||
system: string[]
|
||||
},
|
||||
) => Promise<void>
|
||||
"experimental.text.complete"?: (
|
||||
input: { sessionID: string; messageID: string; partID: string },
|
||||
output: { text: string },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue