Closed evaline-ju closed 3 months ago
Previously #372 was added to give connection errors a more understandable user message, but this obscured some unary generation validation errors
In this PR:
err.details
err.details()
Test command with this fix
grpcurl -plaintext -H "mm-model-id: [model-id]" -d '{ "stopSequences": [], "text": "sad", "tokenLogprobs": true }' localhost:8085 caikit.runtime.Nlp.NlpService.TextGenerationTaskPredict
Previously #372 was added to give connection errors a more understandable user message, but this obscured some unary generation validation errors
In this PR:
err.details
was leading to JSON errors - this should beerr.details()
Test command with this fix