HenryY2023 commited on
Commit
491a482
·
verified ·
1 Parent(s): 53e3b54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ from zhipuai import ZhipuAI
50
  class ZhipuAILLM(LLM):
51
  api_key: str
52
  # Updated model name to a more commonly available one
53
- model: str = "glm-4" # Changed from "chatglm3-6b"
54
  temperature: float = 0.1
55
  # Declare client as a field to avoid Pydantic validation error
56
  client: Optional[ZhipuAI] = None
 
50
  class ZhipuAILLM(LLM):
51
  api_key: str
52
  # Updated model name to a more commonly available one
53
+ model: str = "glm-4-flash" # Changed from "chatglm3-6b"
54
  temperature: float = 0.1
55
  # Declare client as a field to avoid Pydantic validation error
56
  client: Optional[ZhipuAI] = None