# FIXME: Sometimes, some top_logprobs are missing in the return value. The reason is that some output id maps to the same output token and duplicate in the map
# assert ret_num_top_logprobs == logprobs, f"{ret_num_top_logprobs} vs {logprobs}"
assertret_num_top_logprobs>0,f"ret_num_top_logprobs was 0"
assertret_num_top_logprobs>0
ifis_first:
ifecho:
...
...
@@ -203,29 +164,15 @@ class TestOpenAIServer(CustomTestCase):
prompt
),f"{response.choices[0].text} and all args {echo}{logprobs}{token_input}{is_first}"