configPAth2

This commit is contained in:
2026-06-19 11:21:50 +02:00
parent f085bd1b40
commit 24ffb8603d

View File

@@ -4,7 +4,6 @@ using BeWo.Service.Attributes;
using BeWo.Service.Core;
using BeWo.Service.ServiceContracts.Enhanced;
using BS.Shared.DataContracts;
using NHibernate.Linq;
using System;
using System.Collections.Generic;
using System.IO;
@@ -99,6 +98,10 @@ namespace BeWo.Service.ServiceImplementations.Enhanced
if (!File.Exists(configPath))
return "SpecialConfig.CustomPreSystemPrompt wurde nicht korrekt konfiguriert";
var configPath2 = ConfigReader.GetConfigPath(SpecialConfig.CustomFunctionPreSystemPrompt);
if (!File.Exists(configPath2))
return "SpecialConfig.CustomFunctionPreSystemPrompt wurde nicht korrekt konfiguriert";
// #2
if (string.IsNullOrEmpty(MergedConfig.GetSecretSetting(WebSecretConfigSetting.Ollama2Key)))
return "Ollama2Key wurde nicht korrekt konfiguriert";