configPAth2
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user