mirror of
https://github.com/open-webui/pipelines
synced 2025-05-13 00:50:44 +00:00
Update perplexity_manifold_pipeline.py
Based on @CSAnetGmbH comment in https://github.com/open-webui/open-webui/discussions/7043#discussioncomment-11414373
This commit is contained in:
parent
13df74d483
commit
e77f5fe7c1
@ -23,6 +23,7 @@ from utils.pipelines.main import pop_system_message
|
|||||||
class Pipeline:
|
class Pipeline:
|
||||||
class Valves(BaseModel):
|
class Valves(BaseModel):
|
||||||
PERPLEXITY_API_KEY: str = ""
|
PERPLEXITY_API_KEY: str = ""
|
||||||
|
pass
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.type = "manifold"
|
self.type = "manifold"
|
||||||
@ -56,6 +57,7 @@ class Pipeline:
|
|||||||
"name": "Perplexity Llama 3.1 Sonar Huge"
|
"name": "Perplexity Llama 3.1 Sonar Huge"
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
pass
|
||||||
|
|
||||||
async def on_startup(self):
|
async def on_startup(self):
|
||||||
print(f"on_startup:{__name__}")
|
print(f"on_startup:{__name__}")
|
||||||
|
Loading…
Reference in New Issue
Block a user