Skip to content
Snippets Groups Projects
Unverified Commit 59120272 authored by KevinHuSh's avatar KevinHuSh Committed by GitHub
Browse files

fix bug about field misspell (#243)

### What problem does this PR solve?

_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._

Issue link:#[[Link the issue
here](https://github.com/infiniflow/ragflow/issues/242)]

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
parent bb96180e
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ def init_superuser():
for llm in LLMService.query(fid=LLM_FACTORY):
tenant_llm.append(
{"tenant_id": user_info["id"], "llm_factory": LLM_FACTORY, "llm_name": llm.llm_name, "model_type": llm.model_type,
"api_key": API_KEY, "base_url": LLM_BASE_URL})
"api_key": API_KEY, "api_base": LLM_BASE_URL})
if not UserService.save(**user_info):
print("\033[93m【ERROR】\033[0mcan't init admin.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment