Fix #827

Wrap chatCompletions.getChoices() using nullSafeList to avoid potential NPE

Comment From: tzolov

Thanks for your contribution @alexcheng1982 !