mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
fix
This commit is contained in:
parent
6d350fb8bc
commit
9c01297191
1 changed files with 1 additions and 2 deletions
|
|
@ -170,8 +170,7 @@ class ToolsTable:
|
||||||
user_settings["tools"]["valves"][id] = valves
|
user_settings["tools"]["valves"][id] = valves
|
||||||
|
|
||||||
# Update the user settings in the database
|
# Update the user settings in the database
|
||||||
query = Users.update_user_by_id(user_id, {"settings": user_settings})
|
Users.update_user_by_id(user_id, {"settings": user_settings})
|
||||||
query.execute()
|
|
||||||
|
|
||||||
return user_settings["tools"]["valves"][id]
|
return user_settings["tools"]["valves"][id]
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue