feat: restore experimental.chat.messages.transform and add experimental.chat.system.transform hooks (#5542)

This commit is contained in:
DS 2025-12-14 23:51:11 -05:00 committed by GitHub
parent 9555d348de
commit b021b26e77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 3 deletions

View file

@ -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 },