mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
perf: plugin support files (#2708)
This commit is contained in:
@@ -189,7 +189,8 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
// Get obj=Human history
|
||||
const userQuestion: UserChatItemType = (() => {
|
||||
if (isPlugin) {
|
||||
return getPluginRunUserQuery(app.modules, variables);
|
||||
// TODO:get plugin files from variables
|
||||
return getPluginRunUserQuery({ nodes: app.modules, variables });
|
||||
}
|
||||
|
||||
const latestHumanChat = chatMessages.pop() as UserChatItemType | undefined;
|
||||
|
Reference in New Issue
Block a user