Protected_Protected_Protected_Protected ReadonlylanguageProtected ReadonlyopenProtected ReadonlyresponseProtectedcalculateProtectedresolveMerges description overrides with model-id-based defaults from getOpenAiModelDefaults.
Description fields win, allowing custom-endpoint preferences to override capabilities for
non-OpenAI models. Custom endpoints (with a url) skip the context window lookup since we
don't know which model is actually behind the endpoint.
Triggered from frontend. In case you want to use the models on the backend without a frontend then call this yourself