mirror of
https://github.com/Myxelium/Lunaris2.0.git
synced 2026-07-07 21:45:07 +00:00
14 lines
388 B
C#
14 lines
388 B
C#
using Lunaris2.Handler.ChatCommand;
|
|
|
|
namespace Lunaris2.Registration;
|
|
|
|
public static class ChatRegistration
|
|
{
|
|
public static IServiceCollection AddChat(this IServiceCollection services, IConfiguration configuration)
|
|
{
|
|
services.AddSingleton<ChatSettings>();
|
|
services.Configure<ChatSettings>(configuration.GetSection("LLM"));
|
|
|
|
return services;
|
|
}
|
|
} |