🔄 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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)
bb4417dfix: convert urlIdx to integer to prevent TypeError with string indices in pipelines router140ff2erefactor: 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:
Testing:
Fixes open-webui/pipelines#511
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.