Files
Kit Rhett Aultman 6e8b3d9e8e llm_client_backend: add object type to completion marker
The OpenAI chat completion API shows that streaming chat completion
chunks should have the object type "chat.completion.chunk" in the
completion marker chunk.  Without this, some parsers of the OpenAI API
don't handle chat completion streaming responses from this server.

This commit fixes the lack of an object type, keeps compliance with the
described API in the OpenAI docs (see
https://platform.openai.com/docs/api-reference/chat/create), and ensures
parsers like the Home Assistant HomeLLM addon work with it.
2026-01-18 14:09:58 -05:00
..
2025-04-08 18:07:54 +08:00