You've already forked ModuleLLM-OpenAI-Plugin
mirror of
https://github.com/m5stack/ModuleLLM-OpenAI-Plugin.git
synced 2026-05-20 11:37:26 -07:00
Merge pull request #6 from roadriverrail/fix_chat_stream
llm_client_backend: add object type to completion marker
This commit is contained in:
@@ -284,6 +284,7 @@ class LlmClientBackend(BaseModelBackend):
|
||||
}
|
||||
# Add normal completion marker
|
||||
yield {
|
||||
"object": "chat.completion.chunk",
|
||||
"choices": [{
|
||||
"delta": {},
|
||||
"finish_reason": "stop"
|
||||
|
||||
Reference in New Issue
Block a user