Sets the port number for the AI session.
static Future<void> setAiPort(String aiPort) async => await _prefs?.setString(_keyAiPort, aiPort);