14 lines
515 B
C#
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);
|
|
}
|