mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #10566] [MERGED] feat: add optional support for async pipes #22559
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10566
Author: @oloflarsson
Created: 2/22/2025
Status: ✅ Merged
Merged: 2/22/2025
Merged by: @tjbck
Base:
dev← Head:feat/async-pipes📝 Commits (1)
ab1f2aefeat/async-pipes📊 Changes
1 file changed (+6 additions, -3 deletions)
View changed files
📝
backend/open_webui/functions.py(+6 -3)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
👉 Here's the corresponding discussion: https://github.com/open-webui/open-webui/discussions/10565 👈
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added support for async pipes in functions. This means that adding the
asynckeyword is optionally possible, likeasync def pipes(self) -> List[dict]:so thatawaitcan be used within thepipesfunction.No breaking changes. Backwards compatibility is preserved.
Added
The
asynckeyword can now optionally be used on thepipesfunction.Changed
None
Deprecated
None
Removed
None
Fixed
None
Security
None
Breaking Changes
None
Additional Information
None
Screenshots or Videos
None
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.