Skip to content

Commit

Permalink
fix: docker e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sangjanai committed Dec 3, 2024
1 parent 3bdabc4 commit 0f29b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/cli/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ int main(int argc, char* argv[]) {

if (should_check_for_latest_llamacpp_version) {
std::thread t1([]() {
auto config = file_manager_utils::GetCortexConfig();
// TODO: namh current we only check for llamacpp. Need to add support for other engine
auto get_latest_version = []() -> cpp::result<std::string, std::string> {
try {
Expand Down Expand Up @@ -176,6 +175,7 @@ int main(int argc, char* argv[]) {

auto now = std::chrono::system_clock::now();
CTL_DBG("latest llama.cpp version: " << res.value());
auto config = file_manager_utils::GetCortexConfig();
config.checkedForLlamacppUpdateAt =
std::chrono::duration_cast<std::chrono::milliseconds>(
now.time_since_epoch())
Expand Down

0 comments on commit 0f29b21

Please sign in to comment.