This commit is contained in:
2025-11-28 12:36:25 +01:00
parent d116ea57d4
commit 33029ed3eb
3 changed files with 13 additions and 13 deletions

View File

@@ -124,16 +124,6 @@
<ItemGroup>
<EmbeddedResource Include="Prompt\SystemPrompts\system_prompt3.txt" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Shared\Shared.csproj">
<Project>{2f50b83d-a3f0-4ec4-979a-3f9b7e3d8ed4}</Project>
<Name>Shared</Name>
</ProjectReference>
<ProjectReference Include="..\ServerUtils\ServerUtils.csproj">
<Project>{ec2349fb-7fe0-4ad1-b28b-a7a27af80a57}</Project>
<Name>ServerUtils</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Prompt\Factories\" />
</ItemGroup>
@@ -141,5 +131,15 @@
<None Include="app.config" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Shared\Shared.csproj">
<Project>{2F50B83D-A3F0-4EC4-979A-3F9B7E3D8ED4}</Project>
<Name>Shared</Name>
</ProjectReference>
<ProjectReference Include="..\ServerUtils\ServerUtils.csproj">
<Project>{EC2349FB-7FE0-4AD1-B28B-A7A27AF80A57}</Project>
<Name>ServerUtils</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -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,

View File

@@ -13,7 +13,7 @@ namespace BeWo.Service.ServiceProxy
private static readonly Lazy<OpenWebApiClient> _OpenWebApiClient = new Lazy<OpenWebApiClient>(()
=> new OpenWebApiClient(MergedConfig.GetSetting(WebConfigSetting.OpenWebUIUrl), MergedConfig.GetSecretSetting(WebSecretConfigSetting.OpenWebUIKey)));
private static readonly Lazy<OllamaApiClient> _OllamaApiClient = new Lazy<OllamaApiClient>(()
=> new OllamaApiClient(MergedConfig.GetSetting(WebConfigSetting.OllamaWebUIUrl), MergedConfig.GetSecretSetting(WebSecretConfigSetting.OllamaWebUIKey)));
=> new OllamaApiClient(MergedConfig.GetSetting(WebConfigSetting.OllamaUrl), MergedConfig.GetSecretSetting(WebSecretConfigSetting.OllamaKey)));
private static readonly Lazy<XRechnungApiClient> _XRechnungFacade = new Lazy<XRechnungApiClient>(() => new XRechnungApiClient());
public static OpenWebApiClient OpenWebApiClient => _OpenWebApiClient.Value;