17 lines
485 B
C#
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();
|
|
}
|