mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #15040] issue: __user__valves in Actions is updated incorrectly #17445
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?
Originally created by @stephensrmmartin on GitHub (Jun 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15040
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.15
Ollama Version (if applicable)
No response
Operating System
Arch Linux
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When an Action with UserValves is engaged, it should work without error and update the user["valves"] value correctly.
Actual Behavior
An error occurs when using a UserValves-enabled Action.
Steps to Reproduce
Logs & Screenshots
Additional Information
I discovered this when trying to get the following Action to work without error: https://openwebui.com/f/pad4651/add_to_memories_action_button
The log suggested that an error was occurring, and I traced it to the aforementioned pattern.
Using the example action, with an added uservalves, also produces the issue:
@stephensrmmartin commented on GitHub (Jun 16, 2025):
Note that it appears to be due to this outdated (?) pattern:
In other areas of the repo, similar calls look like:
@tjbck commented on GitHub (Jun 18, 2025):
Good catch, Addressed in dev with 0134b5eca4f458d9d5f025d393b7f273051a9643!