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 還沒有評估資料。