Send a chat request to the new API using this format as specified in the docs: https://lmstudio.ai/docs/developer/rest/chat
Received request: POST to /api/v1/chat with body {
"model": "google/gemma-4-e2b",
"input": [
{
"type": "message",
"content": "hi"
}
]
}
2026-09-06 12:52:44 [ERROR]
[LM STUDIO SERVER] {
"error": {
"message": "Invalid discriminator value. Expected 'text' | 'image'",
"type": "invalid_request",
"code": "invalid_union",
"param": "input"
}
}
Docs typo?
Send a chat request to the new API using this format as specified in the docs: https://lmstudio.ai/docs/developer/rest/chat
Received request: POST to /api/v1/chat with body {
"model": "google/gemma-4-e2b",
"input": [
{
"type": "message",
"content": "hi"
}
]
}
2026-09-06 12:52:44 [ERROR]
[LM STUDIO SERVER] {
"error": {
"message": "Invalid discriminator value. Expected 'text' | 'image'",
"type": "invalid_request",
"code": "invalid_union",
"param": "input"
}
}
Docs typo?