Skip to content

Commit

Permalink
remove TimeoutSeconds (default is enough) and OpenAiApiBaseUrl (Kobol…
Browse files Browse the repository at this point in the history
…dSharp is native-only now)
  • Loading branch information
dclipca committed Jan 22, 2025
1 parent 07c6f77 commit 6ed1f7b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions SpongeEngine.KoboldSharp.Tests/Common/TestConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 6ed1f7b

Please sign in to comment.