Testing Pipelines
This commit is contained in:
		@@ -88,12 +88,4 @@ class Pipeline(FunctionCallingBlueprint):
 | 
				
			|||||||
        # Best practice is to not specify the id so that it can be automatically inferred from the filename, so that users can install multiple versions of the same pipeline.
 | 
					        # Best practice is to not specify the id so that it can be automatically inferred from the filename, so that users can install multiple versions of the same pipeline.
 | 
				
			||||||
        # The identifier must be unique across all pipelines.
 | 
					        # The identifier must be unique across all pipelines.
 | 
				
			||||||
        # The identifier must be an alphanumeric string that can include underscores or hyphens. It cannot contain spaces, special characters, slashes, or backslashes.
 | 
					        # The identifier must be an alphanumeric string that can include underscores or hyphens. It cannot contain spaces, special characters, slashes, or backslashes.
 | 
				
			||||||
        # self.id = "my_tools_pipeline"
 | 
					        # self.id = "my_tools_pipeline"
 | 
				
			||||||
        self.name = "Test Tool Pipeline"
 | 
					 | 
				
			||||||
        self.valves = self.Valves(
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                "pipelines": ["pipeline-testmodel"],  # Connect to specific Pipelines
 | 
					 | 
				
			||||||
                "OPENWEATHERMAP_API_KEY": os.getenv("OPENWEATHERMAP_API_KEY", ""),
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
        )
 | 
					 | 
				
			||||||
        self.tools = self.Tools(self)
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user