Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support legacy finish_reason (yetone#706)
Many OpenAI compatible alternative servers are still returning a `finish_reason` of `eos_token` instead of `stop`. This commit adds support for that to support more of these servers/options.
- Loading branch information