feat(ai): add DB-backed church AI config provider
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user