Relates to WI-97
A chat model with a slash in its name, e.g. `anthropic/claude-opus-4.6`,
is rejected with a 400 if its provider is of type `openai` and is either
named `openrouter` or points at `openrouter.ai`. chatd refuses to run
such a model too.
The check comes from #26039, when the `openai` type cut the vendor
prefix off model names. #28144 stopped doing that, but kept the check on
purpose: rejecting the config early was meant to beat a confusing
upstream error. I couldn't get an upstream error out of it though, so
all the check does now is block a config that works. Its advice, to
change the provider's type, can't be followed either, as the type is
fixed when the provider is created.
This PR just deletes the check. I ran chats and tool calls with
`anthropic/claude-haiku-4.5` and `openai/gpt-5.4-mini` on an `openai`
provider that reaches OpenRouter through dogfood's AI Gateway, and both
worked. The `openrouter` type is still the better choice for OpenRouter,
as the `openai` type gets no Claude prompt caching, and as far as I can
tell no cost tracking either.
I came across this whilst working on the rest of the stack. #32811 stops
chatd reading a provider's base URL, which the check needs to tell
whether a provider points at `openrouter.ai`. Keeping the check would've
meant matching the URL in SQL, in the view #32837 adds, so I looked at
whether we still need it at all. That's also why this is at the bottom
of the stack.