model_wrong_kind
HTTP status: 400
Type: invalid_request
When it fires
You passed an embedding model toPOST /v1/chat/completions, or a chat model to POST /v1/embeddings. The aurous_metadata.kind field on each model row (from GET /v1/models) declares whether it’s chat or embedding.
How to recover
Checkaurous_metadata.kind for the model you want before sending. Use a chat-kind model with the chat endpoint and an embedding-kind model with the embeddings endpoint.
