put default config if no config.json found

refactor Constants
This commit is contained in:
Alex Bezdieniezhnykh
2025-06-30 20:06:02 +03:00
parent 6eeb6d20bf
commit bb6413c4f0
10 changed files with 191 additions and 174 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ public class InferenceClient : IInferenceClient
using var process = new Process();
process.StartInfo = new ProcessStartInfo
{
FileName = SecurityConstants.EXTERNAL_INFERENCE_PATH,
FileName = Constants.EXTERNAL_INFERENCE_PATH,
Arguments = $"-p {_inferenceClientConfig.ZeroMqPort} -lp {_loaderClientConfig.ZeroMqPort} -a {_inferenceClientConfig.ApiUrl}",
CreateNoWindow = true
};