Skip to content

Commit

Permalink
Merge pull request #611 from Ikaros-521/owner
Browse files Browse the repository at this point in the history
智谱新增glm3-turbo和glm4的接入
  • Loading branch information
Ikaros-521 authored Feb 2, 2024
2 parents acb38fb + d331da4 commit 649e151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2371,7 +2371,7 @@ def common_textarea_handle(content):
with ui.row():
input_zhipu_api_key = ui.input(label='api key', placeholder='具体参考官方文档,申请地址:https://open.bigmodel.cn/usercenter/apikeys', value=config.get("zhipu", "api_key"))
input_zhipu_api_key.style("width:400px")
lines = ['chatglm_turbo', 'characterglm', 'chatglm_pro', 'chatglm_std', 'chatglm_lite', 'chatglm_lite_32k']
lines = ['glm-3-turbo', 'glm-4', 'characterglm', 'chatglm_turbo', 'chatglm_pro', 'chatglm_std', 'chatglm_lite', 'chatglm_lite_32k']
data_json = {}
for line in lines:
data_json[line] = line
Expand Down

0 comments on commit 649e151

Please sign in to comment.