Testing Pipelines

This commit is contained in:
Josh Knapp 2025-02-04 12:30:18 -08:00
parent e6cb4c0396
commit 243269b6d0

View File

@ -89,11 +89,10 @@ class Pipeline(FunctionCallingBlueprint):
# 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 = "My Tools Pipeline" self.name = "Test Tool Pipeline"
self.valves = self.Valves( self.valves = self.Valves(
**{ {
**self.valves.model_dump(), "pipelines": ["pipeline-testmodel"], # Connect to specific Pipelines
"pipelines": ["pipeline-testmodel"], # Connect to all pipelines
"OPENWEATHERMAP_API_KEY": os.getenv("OPENWEATHERMAP_API_KEY", ""), "OPENWEATHERMAP_API_KEY": os.getenv("OPENWEATHERMAP_API_KEY", ""),
}, },
) )