diff --git a/Server/Components/AICore/AICore.csproj b/Server/Components/AICore/AICore.csproj index 340db6734..d862a9376 100644 --- a/Server/Components/AICore/AICore.csproj +++ b/Server/Components/AICore/AICore.csproj @@ -124,16 +124,6 @@ - - - {2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4} - Shared - - - {ec2349fb-7fe0-4ad1-b28b-a7a27af80a57} - ServerUtils - - @@ -141,5 +131,15 @@ + + + {2F50B83D-A3F0-4EC4-979A-3F9B7E3D8ED4} + Shared + + + {EC2349FB-7FE0-4AD1-B28B-A7A27AF80A57} + ServerUtils + + \ No newline at end of file diff --git a/Service/BeWoServiceEnums.cs b/Service/BeWoServiceEnums.cs index aea3ce7f4..230b4e47e 100644 --- a/Service/BeWoServiceEnums.cs +++ b/Service/BeWoServiceEnums.cs @@ -10,7 +10,7 @@ namespace BeWo.Service public enum WebConfigSetting { OpenWebUIUrl, - OllamaWebUIUrl, + OllamaUrl, XRechnungApiUrl, StoredFilesFolderPath, StoredTenantFilesFolderPath, @@ -27,7 +27,7 @@ namespace BeWo.Service { None = -1, OpenWebUIKey, - OllamaWebUIKey, + OllamaKey, GetGkvSumApiKey, DownloadReportApiKey, OpenrouteServiceApiKey, diff --git a/Service/ServiceProxy/ServiceFacade.cs b/Service/ServiceProxy/ServiceFacade.cs index 866c2403e..8bd193e56 100644 --- a/Service/ServiceProxy/ServiceFacade.cs +++ b/Service/ServiceProxy/ServiceFacade.cs @@ -13,7 +13,7 @@ namespace BeWo.Service.ServiceProxy private static readonly Lazy _OpenWebApiClient = new Lazy(() => new OpenWebApiClient(MergedConfig.GetSetting(WebConfigSetting.OpenWebUIUrl), MergedConfig.GetSecretSetting(WebSecretConfigSetting.OpenWebUIKey))); private static readonly Lazy _OllamaApiClient = new Lazy(() - => new OllamaApiClient(MergedConfig.GetSetting(WebConfigSetting.OllamaWebUIUrl), MergedConfig.GetSecretSetting(WebSecretConfigSetting.OllamaWebUIKey))); + => new OllamaApiClient(MergedConfig.GetSetting(WebConfigSetting.OllamaUrl), MergedConfig.GetSecretSetting(WebSecretConfigSetting.OllamaKey))); private static readonly Lazy _XRechnungFacade = new Lazy(() => new XRechnungApiClient()); public static OpenWebApiClient OpenWebApiClient => _OpenWebApiClient.Value;