fix: messageID type in chat.message (#4128)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
c0702ed8bd
commit
d9ffe07391
3 changed files with 3 additions and 3 deletions
|
|
@ -144,7 +144,7 @@ export interface Hooks {
|
||||||
* Called when a new message is received
|
* Called when a new message is received
|
||||||
*/
|
*/
|
||||||
"chat.message"?: (
|
"chat.message"?: (
|
||||||
input: { sessionID: string; agent?: string; model?: { providerID: string; modelID: string; messageID?: string } },
|
input: { sessionID: string; agent?: string; model?: { providerID: string; modelID: string }; messageID?: string },
|
||||||
output: { message: UserMessage; parts: Part[] },
|
output: { message: UserMessage; parts: Part[] },
|
||||||
) => Promise<void>
|
) => Promise<void>
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue