[PR #13907] [CLOSED] fix: urlIdx type conversion in pipeline filters #110640

Closed
opened 2026-05-18 10:17:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/13907
Author: @anthonysetiadi
Created: 5/15/2025
Status: ❌ Closed

Base: main ← Head: fix/urlIdx-type-conversion


📝 Commits (2)

  • bb4417d fix: convert urlIdx to integer to prevent TypeError with string indices in pipelines router
  • 140ff2e refactor: simplify urlIdx validation and error handling in pipeline filters

📊 Changes

1 file changed (+6 additions, -4 deletions)

View changed files

📝 backend/open_webui/routers/pipelines.py (+6 -4)

📄 Description

Fix urlIdx type conversion in pipeline filters

This PR fixes the type error issue reported in open-webui/pipelines#511 by improving the urlIdx type handling in both inlet and outlet filters.

Changes:

  • Simplified urlIdx type conversion in process_pipeline_inlet_filter and process_pipeline_outlet_filter

Testing:

  • Built and tested locally with Docker (OpenWebUI v0.6.9)
  • Verified pipeline filters work correctly with integer urlIdx values
  • Confirmed the fix resolves the TypeError reported in the issue

Fixes open-webui/pipelines#511


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/13907 **Author:** [@anthonysetiadi](https://github.com/anthonysetiadi) **Created:** 5/15/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/urlIdx-type-conversion` --- ### 📝 Commits (2) - [`bb4417d`](https://github.com/open-webui/open-webui/commit/bb4417d401e190e2bf8764f472ab94376c41666c) fix: convert urlIdx to integer to prevent TypeError with string indices in pipelines router - [`140ff2e`](https://github.com/open-webui/open-webui/commit/140ff2e2bf3ccee1e764cb06f1ab83865a86856d) refactor: simplify urlIdx validation and error handling in pipeline filters ### 📊 Changes **1 file changed** (+6 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/pipelines.py` (+6 -4) </details> ### 📄 Description Fix urlIdx type conversion in pipeline filters This PR fixes the type error issue reported in open-webui/pipelines#511 by improving the urlIdx type handling in both inlet and outlet filters. Changes: - Simplified urlIdx type conversion in process_pipeline_inlet_filter and process_pipeline_outlet_filter Testing: - Built and tested locally with Docker (OpenWebUI v0.6.9) - Verified pipeline filters work correctly with integer urlIdx values - Confirmed the fix resolves the TypeError reported in the issue Fixes open-webui/pipelines#511 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-18 10:17:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#110640