Closed keenborder786 closed 1 year ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: keenborder786
To complete the pull request process, please assign xiaofan-luan after the PR has been reviewed.
You can assign the PR to them by writing /assign @xiaofan-luan
in a comment when ready.
The full list of commands accepted by this bot can be found here.
Welcome @keenborder786! It looks like this is your first PR to zilliztech/GPTCache 🎉
/assign @xiaofan-luan
@keenborder786 thanks for your pr. please make the dev branch as the target branch
@SimFG ok
When I ran the following code:
I was getting the following error:
Numpy was raising a ValueError because the not operator with a numpy array was not reducing to a single boolean value. Therefore, I decided to explicitly check if the array is None, which resolved the issue.