From c8297994744d88e39d3d982cda5ee73c814ae705 Mon Sep 17 00:00:00 2001 From: KevinHuSh Date: Mon, 8 Apr 2024 09:05:40 +0800 Subject: [PATCH] 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) --- api/apps/user_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/apps/user_app.py b/api/apps/user_app.py index 55f5d293b..31fc68552 100644 --- a/api/apps/user_app.py +++ b/api/apps/user_app.py @@ -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):