AuthorBuddy/Services/IOllamaSetupService.cs

18 lines
485 B
C#
Raw Normal View History

2026-05-31 19:31:27 +02:00
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();
}