Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|