KevinHuSh commited on
Commit
85bfa49
·
1 Parent(s): 88e5a61

fix user registration issue (#248)

Browse files

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

- [x] Bug Fix (non-breaking change which fixes an issue)

Files changed (1) hide show
  1. api/apps/user_app.py +1 -1
api/apps/user_app.py CHANGED
@@ -221,7 +221,7 @@ def user_register(user_id, user):
221
  "llm_name": llm.llm_name,
222
  "model_type": llm.model_type,
223
  "api_key": API_KEY,
224
- "base_url": LLM_BASE_URL
225
  })
226
 
227
  if not UserService.save(**user):
 
221
  "llm_name": llm.llm_name,
222
  "model_type": llm.model_type,
223
  "api_key": API_KEY,
224
+ "api_base": LLM_BASE_URL
225
  })
226
 
227
  if not UserService.save(**user):