@@ -22,7 +22,6 @@ cpp::result<void, std::string> CortexConfigMgr::DumpYamlConfig(
2222 YAML::Node node;
2323 node[" logFolderPath" ] = config.logFolderPath ;
2424 node[" logLlamaCppPath" ] = config.logLlamaCppPath ;
25- node[" logTensorrtLLMPath" ] = config.logTensorrtLLMPath ;
2625 node[" logOnnxPath" ] = config.logOnnxPath ;
2726 node[" dataFolderPath" ] = config.dataFolderPath ;
2827 node[" maxLogLines" ] = config.maxLogLines ;
@@ -78,11 +77,10 @@ CortexConfig CortexConfigMgr::FromYaml(const std::string& path,
7877 !node[" apiServerPort" ] || !node[" checkedForUpdateAt" ] ||
7978 !node[" checkedForLlamacppUpdateAt" ] || !node[" latestRelease" ] ||
8079 !node[" latestLlamacppRelease" ] || !node[" logLlamaCppPath" ] ||
81- !node[" logOnnxPath" ] || !node[" logTensorrtLLMPath" ] ||
82- !node[" huggingFaceToken" ] || !node[" gitHubUserAgent" ] ||
83- !node[" gitHubToken" ] || !node[" llamacppVariant" ] ||
84- !node[" llamacppVersion" ] || !node[" enableCors" ] ||
85- !node[" allowedOrigins" ] || !node[" proxyUrl" ] ||
80+ !node[" logOnnxPath" ] || !node[" huggingFaceToken" ] ||
81+ !node[" gitHubUserAgent" ] || !node[" gitHubToken" ] ||
82+ !node[" llamacppVariant" ] || !node[" llamacppVersion" ] ||
83+ !node[" enableCors" ] || !node[" allowedOrigins" ] || !node[" proxyUrl" ] ||
8684 !node[" proxyUsername" ] || !node[" proxyPassword" ] ||
8785 !node[" verifyPeerSsl" ] || !node[" verifyHostSsl" ] ||
8886 !node[" verifyProxySsl" ] || !node[" verifyProxyHostSsl" ] ||
@@ -97,9 +95,6 @@ CortexConfig CortexConfigMgr::FromYaml(const std::string& path,
9795 .logLlamaCppPath = node[" logLlamaCppPath" ]
9896 ? node[" logLlamaCppPath" ].as <std::string>()
9997 : default_cfg.logLlamaCppPath ,
100- .logTensorrtLLMPath = node[" logTensorrtLLMPath" ]
101- ? node[" logTensorrtLLMPath" ].as <std::string>()
102- : default_cfg.logTensorrtLLMPath ,
10398 .logOnnxPath = node[" logOnnxPath" ]
10499 ? node[" logOnnxPath" ].as <std::string>()
105100 : default_cfg.logOnnxPath ,
@@ -183,10 +178,9 @@ CortexConfig CortexConfigMgr::FromYaml(const std::string& path,
183178 .checkedForSyncHubAt = node[" checkedForSyncHubAt" ]
184179 ? node[" checkedForSyncHubAt" ].as <uint64_t >()
185180 : default_cfg.checkedForSyncHubAt ,
186- .apiKeys =
187- node[" apiKeys" ]
188- ? node[" apiKeys" ].as <std::vector<std::string>>()
189- : default_cfg.apiKeys ,
181+ .apiKeys = node[" apiKeys" ]
182+ ? node[" apiKeys" ].as <std::vector<std::string>>()
183+ : default_cfg.apiKeys ,
190184
191185 };
192186 if (should_update_config) {
0 commit comments