AuthorBuddy/Services/IOllamaSetupService.cs
2026-05-31 19:31:27 +02:00

17 lines
485 B
C#

using AuthorBuddy.Web.Models;
namespace AuthorBuddy.Web.Services;
public interface IOllamaSetupService
{
Task<SetupRecommendation> AnalyzeSettingsAsync();
Task<bool> CreateConfigFileAsync(OllamaSettings settings);
}
public class SetupRecommendation
{
public bool IsCorrect { get; set; }
public string Message { get; set; } = string.Empty;
public OllamaSettings RecommendedSettings { get; set; } = new();
public List<string> Findings { get; set; } = new();
}