open-webui / pipelines

Pipelines: Versatile, UI-Agnostic OpenAI-Compatible Plugin Framework
MIT License
1.03k stars 321 forks source link

Fix: Anthropic Manifold Broken (0.3.11) #211

Open bergutman opened 3 months ago

bergutman commented 3 months ago

I just updated my instance to 0.3.11 (deployed with the default helm chart) and the Anthropic manifold broke:

Error loading module: anthropic_manifold_pipeline
No module named 'sseclient'
WARNING:root:No Pipeline class found in anthropic_manifold_pipeline

I'm not familiar enough with how OWUI pipelines handles installing additional dependencies, is there a way to install sseclient without needing to modify the helmchart? Thanks!

justinh-rahb commented 3 months ago

sseclient-py should be pulled in automatically if the pipeline server is starting with the pipeline installed in the pipelines volume already, or from PIPELINES_URLS.

w3XeWIRpuND commented 3 months ago

It errors out and deletes the py file, whether manually inserted or through the webui URL. I'm forced to rebuild the image with sseclient installed manually.

bergutman commented 3 months ago

Well this is super strange. For me it's also deleting the .py file and not showing up under settings -> pipelines. However, it is showing up under workspace -> functions. pipeline

w3XeWIRpuND commented 3 months ago

I also began facing some network issues (upstream prematurely closed connection while reading upstream) with the latest version. When I downgraded to version: 1.3 (2024-06-20), all issues went away.

F-Persson commented 3 months ago

Running the following command worked for me:

C:\Users\F>docker run -d -p 9099:9099 --add-host=host.docker.internal:host-gateway -e PIPELINES_URLS="https://github.com/open-webui/pipelines/blob/main/examples/pipelines/providers/anthropic_manifold_pipeline.py" -v pipelines:/app/pipelines --name pipelines --restart always ghcr.io/open-webui/pipelines:main

The issue I encountered was after adding the address in the 'Install from GitHub URL' section and uploading it. I received an 'OK' message but was never prompted to add any variables or API keys. Since it was my first time using Open WebUI, I assumed this was the default behavior. :)

Been using AnythingLLM until now. Don't know if there is a problem with my settings, with Claude or that App but the performance is average and very random. Looking forward to try this WebUi out

misterfancysocks commented 3 months ago

Running the following command worked for me:

C:\Users\F>docker run -d -p 9099:9099 --add-host=host.docker.internal:host-gateway -e PIPELINES_URLS="https://github.com/open-webui/pipelines/blob/main/examples/pipelines/providers/anthropic_manifold_pipeline.py" -v pipelines:/app/pipelines --name pipelines --restart always ghcr.io/open-webui/pipelines:main

The issue I encountered was after adding the address in the 'Install from GitHub URL' section and uploading it. I received an 'OK' message but was never prompted to add any variables or API keys. Since it was my first time using Open WebUI, I assumed this was the default behavior. :)

Been using AnythingLLM until now. Don't know if there is a problem with my settings, with Claude or that App but the performance is average and very random. Looking forward to try this WebUi out

This worked for me. Thank you!