abetlen / abetlen/llama-cpp-python
Last message when streaming completion should not be empty
オープン
bug
- 主要言語
- Python
- スター
- 10.6k
- フォーク
- 1.4k
- PR マージ指標
- PR 指標を取得中
説明
When streaming completions the last message is sometimes empty to ensure that the last message contains a finish_reason. This is correct according to the OpenAI schema but is not expected by all clients and can cause bugs (noticed this in openplayground).
コントリビューションガイド
評価
この issue はまだ評価されていません。