agentSdkNodeProblemFor function
Why the Node node resolved cannot run the AI server, as a sentence naming
the remedy, or null when it can: the search's own account when it found
nothing (agentSdkNodeMissingReason), else agentSdkNodeProblem for the
executable it named.
One function for the transport's probe, its connect and the installer, so the three can never disagree about the same runtime, and the sentence a user sees in the availability gate is the one they get if they force a connection or press Install anyway.
Implementation
Future<String?> agentSdkNodeProblemFor(LlmNodeResolution node) async {
final executable = node.executable;
if (executable == null) return agentSdkNodeMissingReason(node);
return agentSdkNodeProblem(executable);
}