75 ok = self.__process.waitForStarted(10000) |
75 ok = self.__process.waitForStarted(10000) |
76 if not ok: |
76 if not ok: |
77 EricMessageBox.critical( |
77 EricMessageBox.critical( |
78 None, |
78 None, |
79 self.tr("Run Local 'ollama' Server"), |
79 self.tr("Run Local 'ollama' Server"), |
80 self.tr("""The loacl 'ollama' server process could not be started."""), |
80 self.tr("""The local 'ollama' server process could not be started."""), |
81 ) |
81 ) |
82 else: |
82 else: |
83 self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setEnabled( |
83 self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setEnabled( |
84 False |
84 False |
85 ) |
85 ) |