* Handle case where embeddings overflow token limit

* Set notification tokens

* Fix sort
This commit is contained in:
Nicolas Mowen
2024-10-15 07:17:54 -06:00
committed by GitHub
parent 0abd514064
commit 0eccb6a610
2 changed files with 12 additions and 1 deletions

View File

@@ -357,6 +357,7 @@ def create_user(request: Request, body: AppPostUsersBody):
{
User.username: body.username,
User.password_hash: password_hash,
User.notification_tokens: [],
}
).execute()
return JSONResponse(content={"username": body.username})