I was using the AI features, and it turned out that when we use a custom provider and try to send a message through a chat, it sends the request without the model ID or model name. However, when we use the same model in completion, it successfully makes the request. I have screenshots from the dashboard of the API provider; the last request is from completion, and the two above are from the chat model. You can clearly see the message was sent without the model ID

I was using the AI features, and it turned out that when we use a custom provider and try to send a message through a chat, it sends the request without the model ID or model name. However, when we use the same model in completion, it successfully makes the request. I have screenshots from the dashboard of the API provider; the last request is from completion, and the two above are from the chat model. You can clearly see the message was sent without the model ID