mirror of
https://github.com/open-webui/pipelines.git
synced 2026-11-05 01:37:24 +00:00
[PR #594] fix: Asynchronous Pipeline Support and explicit use of utf-8 encoding when reading module files #479
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/pipelines#479
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/pipelines/pull/594
Author: @lizhenisu
Created: 2/21/2026
Status: 🔄 Open
Base:
main← Head:main📝 Commits (2)
eeafc0efix: explicit use of utf-8 encoding when reading module files879d7f7feat: Asynchronous Pipeline Support📊 Changes
1 file changed (+113 additions, -3 deletions)
View changed files
📝
main.py(+113 -3)📄 Description
The Issue
Fix: Force UTF-8 encoding when loading pipeline modules to resolve
UnicodeDecodeErroron WindowsOn Windows, the default encoding for
open()is often system-dependent (e.g.,GBKorCP1252). If a user writes a custompipefunction containing UTF-8 characters (like Chinese prompts), the loader fails to read the file, raising aUnicodeDecodeError.Error Log:
Reproduction Steps
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.