mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[GH-ISSUE #12899] issue: is_global flag not preserved on function export (imported from https://openwebui.com/f/owndev/azure_ai) #32277
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 @EvKoh on GitHub (Apr 15, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12899
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.5
Ollama Version (if applicable)
No response
Operating System
ubuntu, docker -> ghcr.io/open-webui/open-webui:latest
Browser (if applicable)
Version 135.0.7049.84 (Build officiel) snap (64 bits)
Confirmation
README.md.Expected Behavior
"is_global": truedefined in its manifest, the exported JSON and internal configuration should preserve this flag astrue.Actual Behavior
"is_global": true, exporting the function later returns a JSON where"is_global": false.Steps to Reproduce
"is_global": true.is_globalfield has been reset tofalse.Logs & Screenshots
This is a raw export of my function just before importing it. It clearly shows that is_global is correctly present with the value true in the initial import, but after exporting again from the interface, is_global is missing or automatically overwritten to false :
Additional Information
is_globalflag may be applied. This is likely intended to ensure that only functions meeting certain security and validation criteria become global.falsefor certain function types (e.g., "pipe" functions) even when set to true in the manifest?Thank you for your assistance.
@silentoplayz commented on GitHub (Apr 17, 2025):
I can confirm this issue. I tested with an
Add to Memoriesaction function with both the global toggle and the other toggle set to anOnposition. After exporting the function, deleting it from my Open WebUI instance, and finally imported it again, both toggles for the function were switched off.@tjbck commented on GitHub (Apr 28, 2025):
Intended behaviour, this should be considered as an extra security measure.
@silentoplayz commented on GitHub (Apr 28, 2025):
Yeah, I could see how this behavior is rather intended after revisiting the issue thread.