trying again with the pipeline
This commit is contained in:
parent
04518b74fe
commit
0943349e59
@ -25,14 +25,17 @@ class Pipeline(FunctionCallingBlueprint):
|
|||||||
return os.system(docker_cmd)
|
return os.system(docker_cmd)
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.valves = self.Valves(
|
super().__init__()
|
||||||
**{
|
|
||||||
"pipelines": ["pipeline-testmodel"], # Connect to test pipeline
|
|
||||||
}
|
|
||||||
)
|
|
||||||
self.tools = self.Tools(self)
|
|
||||||
# Optionally, you can set the id and name of the pipeline.
|
# Optionally, you can set the id and name of the 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.
|
# 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 = "Docker Tool Pipeline"
|
||||||
|
self.valves = self.Valves(
|
||||||
|
**{
|
||||||
|
**self.valves.model_dump(),
|
||||||
|
"pipelines": ["pipeline-testmodel"], # Connect to all pipelines
|
||||||
|
},
|
||||||
|
)
|
||||||
|
self.tools = self.Tools(self)
|
Loading…
x
Reference in New Issue
Block a user