Commit graph

7 commits

Author SHA1 Message Date
Tim Farrell
08e8e922fd Endpoint role-checking was redundantly applied but FastAPI provides a nice abstraction mechanic...so I applied it. There should be no logical changes in this code; only simpler, cleaner ways for doing the same thing. 2024-02-08 18:05:01 -06:00
ThatOneCalculator
07cc7f15d5
chore: 🚨 lint and format 2024-01-03 14:33:57 -08:00
Anuraag Jain
77323d9b25 refac: remove the verify_token and use get-current user for auth+user 2024-01-01 10:55:50 +02:00
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
Timothy J. Baek
21c7f50790 feat: modelfiles migration support 2023-12-26 23:58:40 -08:00
Timothy J. Baek
032d7c7440 feat: modelfile backend & ollama version 0.0.0 whitelisted 2023-12-26 22:51:52 -08:00
Timothy J. Baek
a2b1e3756b feat: modelfiles backend 2023-12-26 22:02:17 -08:00