diff --git a/src/Everything2Everything.App/App.xaml.cs b/src/Everything2Everything.App/App.xaml.cs index 6c03b33..3c7b93a 100644 --- a/src/Everything2Everything.App/App.xaml.cs +++ b/src/Everything2Everything.App/App.xaml.cs @@ -7,7 +7,15 @@ namespace Everything2Everything.App; public partial class App : Application { - public ConversionEngine Engine { get; } = Everything2EverythingBootstrap.CreateDefault(); + /// App·LlmProvider가 공유하는 설정 저장소 (키 저장 즉시 변환에 반영). + public ISettingsStore Settings { get; } = new DpapiSettingsStore(); + + public ConversionEngine Engine { get; } + + public App() + { + Engine = Everything2EverythingBootstrap.CreateDefault(Settings); + } protected override async void OnStartup(StartupEventArgs e) { diff --git a/src/Everything2Everything.App/Views/FormatShiftTheme.xaml b/src/Everything2Everything.App/Views/FormatShiftTheme.xaml index 784011c..6aa50c0 100644 --- a/src/Everything2Everything.App/Views/FormatShiftTheme.xaml +++ b/src/Everything2Everything.App/Views/FormatShiftTheme.xaml @@ -338,4 +338,41 @@ + + + + + + diff --git a/src/Everything2Everything.App/Views/MainWindow.xaml b/src/Everything2Everything.App/Views/MainWindow.xaml index 31b5a84..3af73c6 100644 --- a/src/Everything2Everything.App/Views/MainWindow.xaml +++ b/src/Everything2Everything.App/Views/MainWindow.xaml @@ -334,6 +334,9 @@ +