Through API, how to get the rest of an uncomplete completion?


i had made some API calls that stopped in the middle of a sentence. The finish_reason was “length”. What is the call to make to have the end of the sentence ?

Thanks in advance for your help !

Best regards,


Increase the max_token parameter. AFAIK there’s no way to get the uncompleted completion.

1 Like