add openai function calling support

This commit is contained in:
Henry
2023-06-14 01:05:37 +01:00
parent a9ec444514
commit 86ab30510c
20 changed files with 529 additions and 4 deletions
+1 -1
View File
@@ -660,7 +660,7 @@ export const isFlowValidForStream = (reactFlowNodes: IReactFlowNode[], endingNod
return (
isChatOrLLMsExist &&
endingNodeData.category === 'Chains' &&
(endingNodeData.category === 'Chains' || endingNodeData.name === 'openAIFunctionAgent') &&
!isVectorStoreFaiss(endingNodeData) &&
process.env.EXECUTION_MODE !== 'child'
)