mirror of
				https://github.com/open-webui/open-webui
				synced 2025-06-26 18:26:48 +00:00 
			
		
		
		
	fix
This commit is contained in:
		
							parent
							
								
									c36f83df5b
								
							
						
					
					
						commit
						85b4129219
					
				@ -298,7 +298,8 @@ def get_models(user=Depends(get_verified_user)):
 | 
			
		||||
 | 
			
		||||
            for node in app.state.config.COMFYUI_WORKFLOW_NODES:
 | 
			
		||||
                if node["type"] == "model":
 | 
			
		||||
                    model_node_id = node["node_ids"][0]
 | 
			
		||||
                    if node["node_ids"]:
 | 
			
		||||
                        model_node_id = node["node_ids"][0]
 | 
			
		||||
                    break
 | 
			
		||||
 | 
			
		||||
            if model_node_id:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user