update model_config.py.example

This commit is contained in:
imClumsyPanda 2023-09-03 15:52:17 +08:00
parent 25880ebd52
commit 9855bc6f55
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ llm_model_dict = {
# 线上模型。当前支持智谱AI。
# 如果没有设置有效的local_model_path则认为是在线模型API。
# 请在server_config中为每个在线API设置不同的端口
# 具体注册及api key获取请前往 http://open.bigmodel.cn
"chatglm-api": {
"api_base_url": "http://127.0.0.1:8888/v1",
"api_key": os.environ.get("ZHIPUAI_API_KEY"),