fix user registration issue (#248)

### What problem does this PR solve?
Issue link: #247
### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
KevinHuSh 2024-04-08 09:05:40 +08:00 committed by GitHub
parent 373946ef3f
commit c829799474
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -221,7 +221,7 @@ def user_register(user_id, user):
"llm_name": llm.llm_name,
"model_type": llm.model_type,
"api_key": API_KEY,
"base_url": LLM_BASE_URL
"api_base": LLM_BASE_URL
})
if not UserService.save(**user):