From 3be9f562785a6a8b1c980195d7c44de5f63f600d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=BB=BA=E5=B9=B3?= Date: Tue, 11 Mar 2025 16:12:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=EF=BC=8C=E8=B6=85=E6=A3=92=E7=9A=84=E6=94=B9?= =?UTF-8?q?=E8=BF=9B=EF=BC=81=E6=9C=80=E5=A5=BD=E7=9A=84=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E4=BC=9F=E5=A4=A7=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/utils/git_config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/utils/git_config.py b/apps/utils/git_config.py index 0101b3e..e63e7a3 100644 --- a/apps/utils/git_config.py +++ b/apps/utils/git_config.py @@ -116,6 +116,7 @@ class GitLabProvider(GitProvider): get_settings().set("openai.api_base", api_base) get_settings().set("openai.key", api_key) get_settings().set("llm.model", llm_model) + get_settings().set("config.model", llm_model) if mr_action == "update": old_rev = merge_request.get("oldrev") new_rev = merge_request.get("newrev")