openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

Handle a null answer from the server.

Open sammyjava opened this issue 1 year ago • 1 comments

I'm finding that the server sometimes returns a null answer. This crashes the client app. This PR adds logic to spit out the response "I did not receive an answer!" when that happens. It isn't clear to me why the server returns a null answer rather than "I couldn't find the answer to that question in your files." It seems to vary with server restarts.

sammyjava avatar Mar 05 '23 18:03 sammyjava

Good point. Actually, it should probably say that it received nothing, like "No response was returned." Agree? I'll update if so.

sammyjava avatar Mar 09 '23 15:03 sammyjava

First and foremost, thank you for your interest in contributing to the cookbook and for the time you've invested in this pull request.

Unfortunately, due to current workload constraints and priorities, our team doesn't have the bandwidth to thoroughly review and integrate new pull requests for these full-stack examples. Please understand that this isn't a reflection on the quality of your work, which we genuinely appreciate. It's simply a matter of resource allocation and current focus.

Thank you again for your understanding and for your contribution.

simonpfish avatar Sep 11 '23 22:09 simonpfish