Detecting a non-Anthropic provider now goes through one helper instead of listing them.
What's wrong with this entry?
Deciding whether a non-Anthropic API provider is in use no longer enumerates Bedrock, Vertex, Foundry and the other provider environment variables; it asks one helper whether the provider resolves to first-party. Same behaviour, one place to change.
- Adding a provider now only requires updating provider resolution.
!fr()
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.