Files
ROLAC/API/ROLAC.API/Services/Ai/ChurchAiConfig.cs
T
2026-06-25 13:18:04 -07:00

14 lines
515 B
C#

namespace ROLAC.API.Services.Ai;
/// <summary>Active AI configuration resolved from the ChurchProfile singleton (blanks filled with defaults).</summary>
public sealed record ChurchAiConfig(
string Provider,
string ClaudeModel, string? ClaudeApiKey,
string GeminiModel, string? GeminiApiKey);
/// <summary>Reads the church's AI settings from the database for the current request.</summary>
public interface IChurchAiConfigProvider
{
Task<ChurchAiConfig> GetAsync(CancellationToken ct = default);
}