We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 890a293 commit b7712dfCopy full SHA for b7712df
volcenginesdkllmshield/api/llm_shield_sdk_v2.py
@@ -196,7 +196,7 @@ class Config:
196
# 定义错误信息结构体
197
class ErrorInfo(BaseModel):
198
code: str = Field("", alias="Code")
199
- codeN: int = Field("", alias="CodeN")
+ codeN: Union[int, str] = Field("", alias="CodeN")
200
message: str = Field("", alias="Message")
201
202
class Config:
0 commit comments