Cran-May commited on
Commit
387ca34
1 Parent(s): c8c0ac7

Update llmriddles/llms/chatglm.py

Browse files
Files changed (1) hide show
  1. llmriddles/llms/chatglm.py +1 -1
llmriddles/llms/chatglm.py CHANGED
@@ -6,7 +6,7 @@ def ask_chatglm(message: str, api_key: str):
6
  zhipuai.api_key = api_key
7
 
8
  response = zhipuai.model_api.invoke(
9
- model="glm-4",
10
  prompt=[{
11
  "role": "user",
12
  "content": message
 
6
  zhipuai.api_key = api_key
7
 
8
  response = zhipuai.model_api.invoke(
9
+ model="chatglm_turbo",
10
  prompt=[{
11
  "role": "user",
12
  "content": message