Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Conversation

@vansangpfiev
Copy link
Contributor

@vansangpfiev vansangpfiev commented Sep 6, 2024

#1121
Only solved issue for llamacpp on MacOS and Linux/Windows CPU build
Need #1047 to make others work

@vansangpfiev vansangpfiev marked this pull request as ready for review September 6, 2024 06:11
engine/main.cc Outdated
#include "cortex-common/cortexpythoni.h"
#include "utils/archive_utils.h"
#include "utils/config_yaml_utils.h"
// #include "utils/config_yaml_utils.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe remove it?

};

const std::string kCortexFolderName = "cortexcpp";
const std::string kCortexFolderName = ".cortexcpp";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, not sure if we want to hide this folder from user.

std::filesystem::path data_folder_path;
if (!config.dataFolderPath.empty()) {
data_folder_path =
std::filesystem::path(config.dataFolderPath) / ".cortexcpp";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since default dataFolderPath is having kCortexFolderName already, do we need to add another .cortexcpp under it?

@vansangpfiev vansangpfiev merged commit 8c06f78 into dev Sep 6, 2024
@vansangpfiev vansangpfiev deleted the fix/correct-data-folder-path branch September 6, 2024 07:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants