Open icowan opened 9 months ago
If you want to use the OpenAI compatible serving inside chat-ui by Hugging Face you will get this error. This doesn't happen with other local LLM served as OpenAI API (LMStudio, TGI, vLLM, etc.)
TypeError: can only concatenate str (not "tuple") to str
When the type of context in the incoming messages is text, an error occurs.
API:
/v1/chat/completions
request
ERROR