Is this a new bug?
Describe the bug
Upon calling ListVectors it fails with a nil pointer panic. While debugging, I can see the field the code is trying to read is nil.

Error information
After the grpc call to res, err := (*idx.dataClient).List(idx.akCtx(ctx), req) err is nil but res looks malformed, the res.Usage pointer is nil but the current code tries to read ReadUnits without first checking Usage for nil.
Steps to reproduce the issue locally
Call ListVectors with any args, it seems.
Environment
Is this a new bug?
Describe the bug
Upon calling
ListVectorsit fails with a nil pointer panic. While debugging, I can see the field the code is trying to read is nil.Error information
After the grpc call to
res, err := (*idx.dataClient).List(idx.akCtx(ctx), req)err is nil butreslooks malformed, theres.Usagepointer is nil but the current code tries to readReadUnitswithout first checkingUsagefor nil.Steps to reproduce the issue locally
Call
ListVectorswith any args, it seems.Environment