Passing state to tool so that we can use them in custom tools (#3103)

This commit is contained in:
Jrakru
2024-08-30 15:50:16 -04:00
committed by GitHub
parent 7a5246d28a
commit 2e45851822
2 changed files with 45 additions and 5 deletions
+4
View File
@@ -396,3 +396,7 @@ export interface IVisionChatModal {
revertToOriginalModel(): void
setMultiModalOption(multiModalOption: IMultiModalOption): void
}
export interface IStateWithMessages extends ICommonObject {
messages: BaseMessage[]
[key: string]: any
}