File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 22import time
33import traceback
44
5- from datetime import datetime
6- from typing import Annotated
7-
8- from fastapi import APIRouter , Depends , HTTPException
5+ from fastapi import APIRouter , HTTPException
96from fastapi .responses import StreamingResponse
107
118from memos .api .config import APIConfig
12- from memos .api .context .dependencies import G , get_g_object
139from memos .api .product_models import (
1410 BaseResponse ,
1511 ChatCompleteRequest ,
@@ -83,7 +79,6 @@ def set_config(config):
8379def register_user (user_req : UserRegisterRequest ):
8480 """Register a new user with configuration and default cube."""
8581 try :
86-
8782 # Get configuration for the user
8883 user_config , default_mem_cube = APIConfig .create_user_config (
8984 user_name = user_req .user_id , user_id = user_req .user_id
You can’t perform that action at this time.
0 commit comments