From 322425b099dcc1e3c3ada809774cad7096b7d382 Mon Sep 17 00:00:00 2001 From: yihong Date: Tue, 19 Dec 2023 15:55:10 +0800 Subject: [PATCH] fix: if we do not set glm config, we use deault (#952) Signed-off-by: yihong0618 --- dbgpt/_private/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbgpt/_private/config.py b/dbgpt/_private/config.py index 4a8fbb8c5..05e08b3de 100644 --- a/dbgpt/_private/config.py +++ b/dbgpt/_private/config.py @@ -61,7 +61,7 @@ def __init__(self) -> None: if self.zhipu_proxy_api_key: os.environ["zhipu_proxyllm_proxy_api_key"] = self.zhipu_proxy_api_key os.environ["zhipu_proxyllm_proxyllm_backend"] = os.getenv( - "ZHIPU_MODEL_VERSION" + "ZHIPU_MODEL_VERSION", "chatglm_pro" ) # wenxin