mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #12285] issue: OWUI + Pipelines error list indices must be integers or slices, not str #55199
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jkleinkauff on GitHub (Apr 1, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12285
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.5.20
Ollama Version (if applicable)
No response
Operating System
macOS Sequoia 15.3.2
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
I expect the Pipelines to run properly.
I'm probably not setting something?
Actual Behavior
When running OWUI + the pipelines project, I see "list indices must be integers or slices, not str" when I try to run any model(pipe). For this example specifically I was using the Wikipedia one. But in fact the pipeline service is never reached, the error is in OWUI codebase.
When debugging, the error seems to come from this file:
https://github.com/open-webui/open-webui/blob/v0.5.20/backend/open_webui/routers/pipelines.py#L75
urlIdx will be a str. Then, we try to access the list index using this string. You can see what I mean in the image below.
If I use
request.app.state.config.OPENAI_API_BASE_URLS[0]I can get past this error.
Steps to Reproduce
Logs & Screenshots
Additional Information
The error seems easy to reproduce, this is why I may be setting something wrong or not setting at all?