open-webui/backend/apps/web/routers
Anuraag Jain bdd153d8f5 refac: use dependencies to verify token
- feat: added new util to get the current user when needed. Middleware was adding authentication logic to all the routes. let's revisit if we can move the non-auth endpoints to a separate route.
- refac: update the routes to use new helpers for verification and retrieving user
- chore: added black for local formatting of py code
2023-12-30 12:53:33 +02:00
..
auths.py refac: use dependencies to verify token 2023-12-30 12:53:33 +02:00
chats.py refac: use dependencies to verify token 2023-12-30 12:53:33 +02:00
modelfiles.py refac: use dependencies to verify token 2023-12-30 12:53:33 +02:00
users.py refac: use dependencies to verify token 2023-12-30 12:53:33 +02:00
utils.py feat: return file_name for model name 2023-12-24 00:40:59 -08:00