mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-10-29 17:00:30 +00:00
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:
parent
373946ef3f
commit
c829799474
@ -221,7 +221,7 @@ def user_register(user_id, user):
|
|||||||
"llm_name": llm.llm_name,
|
"llm_name": llm.llm_name,
|
||||||
"model_type": llm.model_type,
|
"model_type": llm.model_type,
|
||||||
"api_key": API_KEY,
|
"api_key": API_KEY,
|
||||||
"base_url": LLM_BASE_URL
|
"api_base": LLM_BASE_URL
|
||||||
})
|
})
|
||||||
|
|
||||||
if not UserService.save(**user):
|
if not UserService.save(**user):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user