Удалены <remarks>, <summary> сжаты до короткой фразы, вырезаны ссылки на Task/Ruling/этап/python/прототип; //-комментарии со ссылками на процесс удалены; то же в .proto. Правила обновлены в docs/spec/Код-стайл-Дейл.md. Строк комментариев 27210 -> ~19100.
28 lines
792 B
C#
28 lines
792 B
C#
namespace Deal.Infrastructure.Integrations.Options;
|
|
|
|
/// <summary>
|
|
/// Конфигурация клиента AI-сервиса — секция <c>Services:Ai</c>.
|
|
/// </summary>
|
|
public sealed class AiServiceOptions
|
|
{
|
|
/// <summary>
|
|
/// Имя секции конфигурации
|
|
/// </summary>
|
|
public const string SectionName = "Services:Ai";
|
|
|
|
/// <summary>
|
|
/// Endpoint ai-service по умолчанию.
|
|
/// </summary>
|
|
public const string DefaultEndpoint = "http://localhost:5102";
|
|
|
|
/// <summary>
|
|
/// True — Local-адаптеры
|
|
/// </summary>
|
|
public bool UseLocal { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// Базовый адрес ai-service.
|
|
/// </summary>
|
|
public string Endpoint { get; set; } = DefaultEndpoint;
|
|
}
|