From 6ed1f7b8e357dee6c3f22e047b6858afafa173cd Mon Sep 17 00:00:00 2001 From: dclipca Date: Wed, 22 Jan 2025 15:53:48 +0200 Subject: [PATCH] remove TimeoutSeconds (default is enough) and OpenAiApiBaseUrl (KoboldSharp is native-only now) --- SpongeEngine.KoboldSharp.Tests/Common/TestConfig.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/SpongeEngine.KoboldSharp.Tests/Common/TestConfig.cs b/SpongeEngine.KoboldSharp.Tests/Common/TestConfig.cs index e9feb99..4577b12 100644 --- a/SpongeEngine.KoboldSharp.Tests/Common/TestConfig.cs +++ b/SpongeEngine.KoboldSharp.Tests/Common/TestConfig.cs @@ -5,10 +5,5 @@ public static class TestConfig public const string BaseUrl = "http://localhost:5001"; public static string NativeApiBaseUrl => Environment.GetEnvironmentVariable("KOBOLDCPP_BASE_URL") ?? $"{BaseUrl}/api"; - - public static string OpenAiApiBaseUrl => Environment.GetEnvironmentVariable("KOBOLDCPP_OPENAI_BASE_URL") ?? $"{BaseUrl}/v1"; - - // Extended timeout for large models - public static int TimeoutSeconds => 120; } } \ No newline at end of file