mirror of
https://github.com/open-webui/pipelines
synced 2025-05-14 09:30:46 +00:00
feat: filter wildcard support
This commit is contained in:
parent
143cf7e18b
commit
c9f2ff4181
@ -17,6 +17,7 @@ class Pipeline:
|
|||||||
self.priority = 0
|
self.priority = 0
|
||||||
|
|
||||||
# List target pipelines (models) that this filter will be connected to.
|
# List target pipelines (models) that this filter will be connected to.
|
||||||
|
# If you want to connect this filter to all pipelines, you can set pipelines to ["*"]
|
||||||
self.pipelines = [
|
self.pipelines = [
|
||||||
{"id": "llama3:latest"},
|
{"id": "llama3:latest"},
|
||||||
]
|
]
|
||||||
|
@ -21,9 +21,8 @@ class Pipeline:
|
|||||||
self.priority = 0
|
self.priority = 0
|
||||||
|
|
||||||
# List target pipelines (models) that this filter will be connected to.
|
# List target pipelines (models) that this filter will be connected to.
|
||||||
self.pipelines = [
|
# If you want to connect this filter to all pipelines, you can set pipelines to ["*"]
|
||||||
{"id": "llama3:latest"},
|
self.pipelines = ["*"]
|
||||||
]
|
|
||||||
|
|
||||||
self.secret_key = os.getenv("LANGFUSE_SECRET_KEY")
|
self.secret_key = os.getenv("LANGFUSE_SECRET_KEY")
|
||||||
self.public_key = os.getenv("LANGFUSE_PUBLIC_KEY")
|
self.public_key = os.getenv("LANGFUSE_PUBLIC_KEY")
|
||||||
|
Loading…
Reference in New Issue
Block a user