Ai00-X / ai00_server

A localized open-source AI server that is better than ChatGPT.
https://ai00-x.github.io/ai00_server/
MIT License
434 stars 54 forks source link

ambiguous finish reason #90

Closed josStorer closed 3 months ago

josStorer commented 3 months ago

d8c084f58c59998849f222a012b1f638 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.