fallback
Server-side offline fallback opinion for model selection.
When the live /serving-endpoints catalogue can’t be read at all - no user
token, the service principal can’t list, or the workspace is unreachable -
the resolver still has to name some endpoint. This module holds that floor:
a small, hard-coded set of well-known Foundation Model API endpoint names,
each bucketed into a chat ModelClass by the shared
classify.classifyByFamily heuristic (no classes are hard-coded here)
and ordered best-first.
This is deliberately server-only. A browser client never talks to
Databricks directly - it always goes through this server - so it has nothing
to fall back to and must not assume a stale, baked-in model list; it consumes
the live /models response instead. The pure classifier
(classify.classifyEndpoints) is what the client shares.