Welcome to the community!
It’s pretty much exactly what the error message says: it’s a completion model, not a chat model. You need to use the raw completion endpoint, not the chat.completion endpoint.
If you look at the docs it’s often marked as “legacy”. This is the OG text prediction mode.
This endpoint also just accepts text, not a conversation object.