Closed josStorer closed 3 months ago
The finish reason returned a string "null", which should be a regular null, because many frontends use if (finish_reason) to determine the end, and in this case "null" will be considered as ended. OpenAI's API also uses regular null.
if (finish_reason)
if (finish_reason)
to determine the end, and in this case "null" will be considered as ended. OpenAI's API also uses regular null.