feat: add experimental.text.complete plugin hook (#4962)

This commit is contained in:
franlol 2025-12-08 02:44:04 +01:00 committed by GitHub
parent 5b3550ab9f
commit 81ee8541ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View file

@ -175,4 +175,8 @@ export interface Hooks {
metadata: any
},
) => Promise<void>
"experimental.text.complete"?: (
input: { sessionID: string; messageID: string; partID: string },
output: { text: string },
) => Promise<void>
}