This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,8 @@ void RunCmd::Exec(bool chat_flag) {
9191 // Always start model if not llamacpp
9292 // If it is llamacpp, then check model status first
9393 {
94- if ((mc.engine .find (" llamacpp" ) == std::string::npos) ||
94+ if ((mc.engine .find (kLlamaRepo ) == std::string::npos &&
95+ mc.engine .find (kLlamaEngine ) == std::string::npos) ||
9596 !commands::ModelStatusCmd ().IsLoaded (host_, port_, *model_id)) {
9697 if (!ModelStartCmd ().Exec (host_, port_, *model_id)) {
9798 return ;
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ inline void CreateConfigFileIfNotExist() {
140140 CLI_LOG (" Config file not found. Creating one at " + config_path.string ());
141141 auto defaultDataFolderPath =
142142 file_manager_utils::GetHomeDirectoryPath () / default_data_folder_name;
143- CTL_INF (" Default data folder path: " + defaultDataFolderPath.string ());
143+ CLI_LOG (" Default data folder path: " + defaultDataFolderPath.string ());
144144
145145 auto config = config_yaml_utils::CortexConfig{
146146 .logFolderPath = defaultDataFolderPath.string (),
@@ -188,7 +188,7 @@ inline std::filesystem::path GetCortexDataPath() {
188188 }
189189
190190 if (!std::filesystem::exists (data_folder_path)) {
191- CTL_INF (" Cortex home folder not found. Create one: " +
191+ CLI_LOG (" Cortex home folder not found. Create one: " +
192192 data_folder_path.string ());
193193 std::filesystem::create_directory (data_folder_path);
194194 }
You can’t perform that action at this time.
0 commit comments