Feature/OpenAI Tool Agent (#1991)

add openai tool agent
This commit is contained in:
Henry Heng
2024-03-19 19:07:13 +08:00
committed by GitHub
parent ec1bbc84bc
commit c11c43cf0d
9 changed files with 435 additions and 1029 deletions
+3 -2
View File
@@ -907,10 +907,11 @@ export const isFlowValidForStream = (reactFlowNodes: IReactFlowNode[], endingNod
// Agent that are available to stream
const whitelistAgents = [
'openAIFunctionAgent',
'mistralAIFunctionAgent',
'mistralAIToolAgent',
'csvAgent',
'airtableAgent',
'conversationalRetrievalAgent'
'conversationalRetrievalAgent',
'openAIToolAgent'
]
isValidChainOrAgent = whitelistAgents.includes(endingNodeData.name)
} else if (endingNodeData.category === 'Engine') {