llm-examples icon indicating copy to clipboard operation
llm-examples copied to clipboard

app_test.py fails with openai 1.6 but works for 1.7.

Open romilly opened this issue 2 years ago • 0 comments

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.

romilly avatar Jan 09 '24 12:01 romilly