Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/providers/glm_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

try:
from zhipuai import ZhipuAI # type: ignore
except ModuleNotFoundError: # pragma: no cover
except ImportError: # catches both ModuleNotFoundError and bare ImportError (e.g. zhipuai<2.0 where ZhipuAI symbol moved)
ZhipuAI = None

from .openai_compatible import OpenAICompatibleProvider
Expand Down