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 Aiden Cline
parent c985ef172d
commit b98bd90d50
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 },