mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-11 20:05:19 +00:00
refac: websocket
This commit is contained in:
parent
827326e1a2
commit
9657474a8d
1 changed files with 0 additions and 3 deletions
|
|
@ -192,9 +192,6 @@ async def connect(sid, environ, auth):
|
|||
# print(f"user {user.name}({user.id}) connected with session ID {sid}")
|
||||
await sio.emit("user-list", {"user_ids": list(USER_POOL.keys())})
|
||||
await sio.emit("usage", {"models": get_models_in_use()})
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
||||
@sio.on("user-join")
|
||||
|
|
|
|||
Loading…
Reference in a new issue