Auf internes Config System umgestiegen

This commit is contained in:
2026-02-20 12:51:18 +01:00
parent 2c6ca26743
commit c6ff7054cf
10 changed files with 38 additions and 20 deletions

View File

@@ -10,13 +10,6 @@ namespace BeWo.Service.Core
{
public static class BeWoServerPathHelper
{
/// <summary>
/// Holt den Ordner, wo sich die systemPrompts befinden
/// </summary>
public static string GetAiSystemPromptPath()
=> Path.Combine(getRoot(), "AI", "systemPrompts");
public static string GetUniqueRequestLogFile()
{
var folder_path = Path.Combine(getLogRootPath(), "ai", "requests");

View File

@@ -52,7 +52,11 @@ namespace BeWo.Service.Core
case SpecialConfig.None:
break;
case SpecialConfig.AiConfig:
return "ai.config.json";
return Path.Combine("ai", "ai.config.json");
case SpecialConfig.CustomFunctionPreSystemPrompt:
return Path.Combine("ai", "systemPrompts", "customFunctionPreSystemPrompt.txt");
case SpecialConfig.CustomPreSystemPrompt:
return Path.Combine("ai", "systemPrompts", "customPreSystemPrompt.txt");
default:
break;
}