"Request contains an invalid argument" when using OpenAI compatibility

I think this is the same as another thread: there seems to be something about the request sent by undici/Node that the API server doesn’t like (but should, probably, be able to handle).