fix: get plugin input variables from history (#2255)

This commit is contained in:
heheer
2024-08-03 12:31:31 +08:00
committed by GitHub
parent 48f2c95bb9
commit 110bf9391f
4 changed files with 47 additions and 7 deletions

View File

@@ -201,7 +201,8 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
type: ChatItemValueTypeEnum.text,
text: {
content: getPluginRunContent({
pluginInputs: getPluginInputsFromStoreNodes(app.modules)
pluginInputs: getPluginInputsFromStoreNodes(app.modules),
variables
})
}
}