However, when the content is empty, it can not work.
I just set content to empty, it prints error.
[2024-05-04 01:10:59.564] [INFO] [LM STUDIO SERVER] Processing queued request...
[2024-05-04 01:10:59.564] [INFO] Received POST request to /v1/chat/completions with body: {
"model": "lmstudio-community/Meta-Llama-3-8B-Instruct-GGUF",
"messages": [
{
"role": "system",
"content": ""
},
{
"role": "user",
"content": "Introduce yourself."
}
],
"temperature": 0.7,
"max_tokens": -1,
"stream": true
}
[2024-05-04 01:10:59.565] [ERROR] [Server Error] {"title":"'messages' array must only contain objects with a 'content' field that is not empty"}
Just hope when role of system's content is empty, it still can work.
Local Interface Server works well in example
However, when the content is empty, it can not work. I just set content to empty, it prints error.
Just hope when role of system's content is empty, it still can work.