Native confidence is separate metadata
model.ts reads confidence from providerMetadata.typesafe, while answer choices/probabilities live in answers. Treating every gateway answer as if it carried native confidence would lose this distinction.
Inspect the supporting source ↗