You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I was looking at your sdk and I think I found a bug in file: zhipuai-sdk-python-v4/zhipuai/api_resource/videos/videos.py (branch main, row 45)
The code you've written checks twice the same condition
if not model and not model:
raise ValueError("At least one of `model` and `prompt` must be provided.")
I suppose it should be like this:
if not model and not prompt:
raise ValueError("At least one of `model` and `prompt` must be provided.")
The text was updated successfully, but these errors were encountered:
Hello! I was looking at your sdk and I think I found a bug in file: zhipuai-sdk-python-v4/zhipuai/api_resource/videos/videos.py (branch main, row 45)
The code you've written checks twice the same condition
I suppose it should be like this:
The text was updated successfully, but these errors were encountered: