Files
next-ai-draw-io/tests/unit
dayuan.jiang e0a196dded refactor(providers): the quota functions and the model list fallback read the record
Step 4c of the provider refactor plan. usesServerCredentials asks
resolveEndpoint whose key the call uses, so the 'mirrors each branch of
getAIModel' comment and its switch are gone. usesServerEndpoint reads the
credential kind (none, optionalKey) and the sdk (bedrock) instead of three
provider names. listFallbackUrl reads the credential kind and
publicDefaultUrl. Before this commit the differential test agreed with the
pre-refactor copies on all 30720 and 288 input classes; the copies are
deleted now, and the behavior snapshot keeps both functions' answers for
every recorded scenario.
2026-10-12 21:17:51 +09:00
..