fix: optional toolCallID

This commit is contained in:
adamdotdevin 2025-07-31 10:09:44 -05:00
parent ef633fe92e
commit d9210af98c
No known key found for this signature in database
GPG Key ID: 9CB48779AF150E75

View File

@ -7,7 +7,7 @@ export namespace Tool {
export type Context<M extends Metadata = Metadata> = {
sessionID: string
messageID: string
toolCallID: string
toolCallID?: string
abort: AbortSignal
metadata(input: { title?: string; metadata?: M }): void
}