Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
dclipca committed Jan 14, 2025
1 parent 738c690 commit 87b3398
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
21 changes: 4 additions & 17 deletions SpongeEngine.KoboldSharp/Models/KoboldSharpOptions.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
namespace SpongeEngine.KoboldSharp.Models
using SpongeEngine.LLMSharp.Core.Configuration;

namespace SpongeEngine.KoboldSharp.Models
{
public class KoboldSharpOptions
public class KoboldSharpOptions: LlmClientOptions
{
/// <summary>
/// Base URL of the KoboldCpp server
/// </summary>
public string BaseUrl { get; set; } = "http://localhost:5001";

/// <summary>
/// Optional API key if authentication is enabled
/// </summary>
public string? ApiKey { get; set; }

/// <summary>
/// HTTP request timeout in seconds
/// </summary>
Expand All @@ -26,10 +18,5 @@ public class KoboldSharpOptions
/// Whether to use GPU acceleration
/// </summary>
public bool UseGpu { get; set; } = true;

/// <summary>
/// Whether to use the OpenAI-compatible API endpoints
/// </summary>
public bool UseOpenAiApi { get; set; }
}
}
2 changes: 1 addition & 1 deletion SpongeEngine.KoboldSharp/SpongeEngine.KoboldSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- Package Info -->
<PackageId>SpongeEngine.KoboldSharp</PackageId>
<Title>KoboldSharp</Title>
<Version>1.2.1</Version>
<Version>1.2.2</Version>
<Authors>Dan Clipca</Authors>
<Company>Sponge Engine</Company>
<Description>C# client for KoboldCpp.</Description>
Expand Down

0 comments on commit 87b3398

Please sign in to comment.