mirror of
https://github.com/open-webui/open-webui
synced 2024-11-07 09:09:53 +00:00
fix
This commit is contained in:
parent
f524238910
commit
6ce91de7e0
@ -898,7 +898,7 @@ async def generate_chat_completions(form_data: dict, user=Depends(get_verified_u
|
||||
"role": user.role,
|
||||
**(
|
||||
{
|
||||
"valves": pipe.UserValves(
|
||||
"valves": function_module.UserValves(
|
||||
Functions.get_user_valves_by_id_and_user_id(
|
||||
pipe_id, user.id
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user