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:
Seyed (Yahya) Shirazi
2024-11-29 13:10:18 -08:00
committed by GitHub
parent 13df74d483
commit e77f5fe7c1

View File

@@ -23,6 +23,7 @@ from utils.pipelines.main import pop_system_message
class Pipeline:
class Valves(BaseModel):
PERPLEXITY_API_KEY: str = ""
pass
def __init__(self):
self.type = "manifold"
@@ -56,6 +57,7 @@ class Pipeline:
"name": "Perplexity Llama 3.1 Sonar Huge"
},
]
pass
async def on_startup(self):
print(f"on_startup:{__name__}")