mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #13405] [MERGED] fix: Multiple actions in an action module do not work as intended. #46242
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/13405
Author: @yak1ex
Created: 5/1/2025
Status: ✅ Merged
Merged: 5/2/2025
Merged by: @tjbck
Base:
dev← Head:fix_multiple_actions_in_an_action_module_do_not_work_as_intended📝 Commits (1)
b5cfa2bfix: Multiple actions in an action module do not work as intended.📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
backend/open_webui/utils/models.py(+1 -0)📄 Description
Pull Request Checklist
A related discussion can be found here: https://github.com/open-webui/open-webui/discussions/12169
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
pipefunctions have apipesattribute, action functions can have anactionsattribute. The necessary handling code was present, but unreachable. This pull request resolves this, enabling multiple actions within an action module to function as intended. See details in https://github.com/open-webui/open-webui/discussions/12169.Fixed
Additional Information
Screenshots or Videos
Without this PR modification, only one action button is shown by the same action function code. Slightly modified version of this action is available here: https://openwebui.com/f/yak1ex/repeat_input
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the CONTRIBUTOR_LICENSE_AGREEMENT, and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.