Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion engine/commands/run_cmd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ void RunCmd::Exec(bool chat_flag) {
// Always start model if not llamacpp
// If it is llamacpp, then check model status first
{
if ((mc.engine.find("llamacpp") == std::string::npos) ||
if ((mc.engine.find(kLlamaRepo) == std::string::npos &&
mc.engine.find(kLlamaEngine) == std::string::npos) ||
!commands::ModelStatusCmd().IsLoaded(host_, port_, *model_id)) {
if (!ModelStartCmd().Exec(host_, port_, *model_id)) {
return;
Expand Down
4 changes: 2 additions & 2 deletions engine/utils/file_manager_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ inline void CreateConfigFileIfNotExist() {
CLI_LOG("Config file not found. Creating one at " + config_path.string());
auto defaultDataFolderPath =
file_manager_utils::GetHomeDirectoryPath() / default_data_folder_name;
CTL_INF("Default data folder path: " + defaultDataFolderPath.string());
CLI_LOG("Default data folder path: " + defaultDataFolderPath.string());

auto config = config_yaml_utils::CortexConfig{
.logFolderPath = defaultDataFolderPath.string(),
Expand Down Expand Up @@ -188,7 +188,7 @@ inline std::filesystem::path GetCortexDataPath() {
}

if (!std::filesystem::exists(data_folder_path)) {
CTL_INF("Cortex home folder not found. Create one: " +
CLI_LOG("Cortex home folder not found. Create one: " +
data_folder_path.string());
std::filesystem::create_directory(data_folder_path);
}
Expand Down
Loading