-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(model_runtime/zhipuai_sdk): syntax style
- Loading branch information
Showing
3 changed files
with
14 additions
and
17 deletions.
There are no files selected for viewing
13 changes: 6 additions & 7 deletions
13
api/core/model_runtime/model_providers/zhipuai/zhipuai_sdk/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
from .__version__ import __version__ | ||
from ._client import ZhipuAI | ||
|
||
from .core import ( | ||
ZhipuAIError, | ||
APIStatusError, | ||
APIRequestFailedError, | ||
APIAuthenticationError, | ||
APIReachLimitError, | ||
APIConnectionError, | ||
APIInternalError, | ||
APIServerFlowExceedError, | ||
APIReachLimitError, | ||
APIRequestFailedError, | ||
APIResponseError, | ||
APIResponseValidationError, | ||
APIConnectionError, | ||
APIServerFlowExceedError, | ||
APIStatusError, | ||
APITimeoutError, | ||
ZhipuAIError, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters