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

Commit 0f29b21

Browse files
committed
fix: docker e2e tests
1 parent 3bdabc4 commit 0f29b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/cli/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ int main(int argc, char* argv[]) {
148148

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

177176
auto now = std::chrono::system_clock::now();
178177
CTL_DBG("latest llama.cpp version: " << res.value());
178+
auto config = file_manager_utils::GetCortexConfig();
179179
config.checkedForLlamacppUpdateAt =
180180
std::chrono::duration_cast<std::chrono::milliseconds>(
181181
now.time_since_epoch())

0 commit comments

Comments
 (0)