What you saw
Why it happened
The OpenAI-compatible chat completions API requires amessages array with at least one entry. Manifest got a body where messages was missing, not an array, or empty.
Manifest error M300 fires when the /v1/chat/completions body has no messages array (missing, not an array, or empty). Returns HTTP 400.
messages array with at least one entry. Manifest got a body where messages was missing, not an array, or empty.