Feature/Add multi modal to chat ollama (#3499)

* add multi modal to chat ollama

* update JSON mode description
This commit is contained in:
Henry Heng
2024-11-10 20:45:46 +00:00
committed by GitHub
parent 1e2dc03527
commit 51e5591bbb
6 changed files with 60 additions and 1001 deletions
@@ -92,7 +92,7 @@ export const utilGetUploadsConfig = async (chatflowid: string): Promise<IUploadC
'supervisor',
'seqStart'
]
const imgUploadLLMNodes = ['chatOpenAI', 'chatAnthropic', 'awsChatBedrock', 'azureChatOpenAI', 'chatGoogleGenerativeAI']
const imgUploadLLMNodes = ['chatOpenAI', 'chatAnthropic', 'awsChatBedrock', 'azureChatOpenAI', 'chatGoogleGenerativeAI', 'chatOllama']
if (nodes.some((node) => imgUploadAllowedNodes.includes(node.data.name))) {
nodes.forEach((node: IReactFlowNode) => {