[PR #11009] [MERGED] fix: typing error in replace_messages_variable func args #38267

Closed
opened 2026-04-25 11:21:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/11009
Author: @amuwall
Created: 3/1/2025
Status: Merged
Merged: 3/1/2025
Merged by: @tjbck

Base: devHead: fix-typing-error


📝 Commits (1)

  • b430dea fix: fix typing error in args

📊 Changes

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

View changed files

📝 backend/open_webui/utils/task.py (+1 -1)

📄 Description

Changelog Entry

Description

  • The typing hint for messgaes args in replace_messages_variable is str. But it actually should be a dict.

Fixed

  • Modify messages typing to dict.

🔄 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/11009 **Author:** [@amuwall](https://github.com/amuwall) **Created:** 3/1/2025 **Status:** ✅ Merged **Merged:** 3/1/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `fix-typing-error` --- ### 📝 Commits (1) - [`b430dea`](https://github.com/open-webui/open-webui/commit/b430deab15402302f61b51c2f2fc82964671312e) fix: fix typing error in args ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/utils/task.py` (+1 -1) </details> ### 📄 Description # Changelog Entry ### Description - The typing hint for `messgaes` args in `replace_messages_variable` is `str`. But it actually should be a `dict`. ### Fixed - Modify `messages` typing to `dict`. --- <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-04-25 11:21:39 -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#38267