OpenAI V 1.6 required `logprobs=None` in the Choice constructor, but 1.7 removed that requirement and app_test,py then works unchanged. Setting `openai>=1.7` in `requirements.txt` fixes the issue.